diff --git a/nginx.conf b/nginx.conf index adb8457..13da466 100644 --- a/nginx.conf +++ b/nginx.conf @@ -55,13 +55,17 @@ http { listen 80; listen [::]:80; + root /usr/share/nginx/html; + index indexV2.html; + access_log /dev/stdout; error_log /dev/stderr error; expires $cache_expires; - root /usr/share/nginx/html; - try_files $uri /indexV2.html; + location / { + try_files $uri /indexV2.html; + } location = /index.html { return 301 /indexV2.html;