diff --git a/nginx/filesystem/etc/nginx/conf.d/nginx.conf b/nginx/filesystem/etc/nginx/conf.d/nginx.conf index ae8f40f..6e94474 100644 --- a/nginx/filesystem/etc/nginx/conf.d/nginx.conf +++ b/nginx/filesystem/etc/nginx/conf.d/nginx.conf @@ -51,7 +51,10 @@ server { } location ~ ^/(background|user/auth|user/login(?:/desktop)?|vm-admin|twitch-bot(?:/config)?|imdb-search) { - return 404; + root /usr/share/nginx/html; + # First attempt to serve request as file, then + # as directory, then redirect to index(angular) if no file found. + try_files $uri $uri/ /index.html; } location / {