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 {
4848 try_files /index .html =404 ;
4949 }
5050
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-
5651 location / {
5752 root /usr/share/nginx/html;
5853 try_files $uri $uri / =404 ;
@@ -96,6 +91,12 @@ server {
9691 proxy_set_header X-Forwarded-Port $server_port ;
9792 }
9893
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+
99100 # Verification for our SSL certificate with Let's Encrypt
100101 location /.well-known {
101102 root /usr/share/nginx/html;
You can’t perform that action at this time.
0 commit comments