We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e39075 commit 70a6709Copy full SHA for 70a6709
deploy/setup-nginx-ssl.sh
@@ -52,6 +52,14 @@ server {
52
proxy_http_version 1.1;
53
proxy_set_header Upgrade $http_upgrade;
54
proxy_set_header Connection "upgrade";
55
+
56
+ # Rewriting internal paths in HTML responses to use /auth/ prefix
57
+ sub_filter_once off;
58
+ sub_filter_types text/html;
59
60
+ sub_filter 'href="/' 'href="/auth/';
61
+ sub_filter 'src="/' 'src="/auth/';
62
+ sub_filter 'action="/' 'action="/auth/';
63
}
64
65
location / {
0 commit comments