diff --git a/client/nginx.conf b/client/nginx.conf index e308ffa7ec62a4da81f437e259876c5456708938..e819137b39a6ea403507c9833e97f1159b0f27ac 100644 --- a/client/nginx.conf +++ b/client/nginx.conf @@ -3,15 +3,13 @@ server { listen [::]:80; server_name localhost; + root /usr/share/nginx/html; + location / { - root /usr/share/nginx/html; - try_files $uri $uri/index.html index.html; + try_files $uri $uri/index.html /index.html; } error_page 500 502 503 504 /50x.html; - location = /50x.html { - root /usr/share/nginx/html; - } }