diff --git a/nginx/conf.d/www.conf b/nginx/conf.d/www.conf index 2dd5a44..2c9d229 100644 --- a/nginx/conf.d/www.conf +++ b/nginx/conf.d/www.conf @@ -14,6 +14,6 @@ server { location / { root /usr/local/nginx/html/; - try_files $uri /index.html; + try_files $uri $uri.html $uri/ =404; } } \ No newline at end of file