diff --git a/nginx.conf b/nginx.conf index 30d9c06..f1e725e 100644 --- a/nginx.conf +++ b/nginx.conf @@ -7,10 +7,10 @@ server { location / { root /usr/share/nginx/html; index index.html; - try_files $uri $uri/ /index.html; + try_files $uri $uri/ /index.html =404; } - # error_page 404 /usr/share/nginx/html/404.html; + error_page 404 /usr/share/nginx/html/404.html; # redirect server error pages to the static page /50x.html #