File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
nginx/filesystem/etc/nginx/conf.d Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,6 @@ server {
48
48
try_files /index .html =404 ;
49
49
}
50
50
51
- location ~ ^/( background|user /auth|user /login|vm-admin|twitch-bot|imdb-search) {
52
- root /usr/share/nginx/html;
53
- try_files $uri $uri / /index .html =404 ;
54
- }
55
-
56
51
location / {
57
52
root /usr/share/nginx/html;
58
53
try_files $uri $uri / =404 ;
@@ -96,6 +91,12 @@ server {
96
91
proxy_set_header X-Forwarded-Port $server_port ;
97
92
}
98
93
94
+ # Angular pages
95
+ location ~ ^/( background|user /auth|user /login|vm-admin|twitch-bot|imdb-search) {
96
+ root /usr/share/nginx/html;
97
+ try_files $uri $uri / /index .html =404 ;
98
+ }
99
+
99
100
# Verification for our SSL certificate with Let's Encrypt
100
101
location /.well-known {
101
102
root /usr/share/nginx/html;
You can’t perform that action at this time.
0 commit comments