diff --git a/nginx.conf b/nginx.conf index 51acb5d..3d54342 100644 --- a/nginx.conf +++ b/nginx.conf @@ -5,11 +5,6 @@ server { root /usr/share/nginx/html; index index.html; - # Redirect /index.html to / - location = /index.html { - return 301 /; - } - location / { try_files $uri $uri/ /index.html; } @@ -22,4 +17,4 @@ server { gzip on; gzip_types text/plain text/css application/javascript image/svg+xml; -} +} \ No newline at end of file