nginx fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user