modified: nginx/nginx-ssl.conf
Add try_files $uri $uri/ /index.html; to nginx-ssl.conf
This commit is contained in:
@@ -21,6 +21,7 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /auth {
|
location /auth {
|
||||||
@@ -47,5 +48,6 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
root /usr/share/nginx/valitovgaziz/html;
|
root /usr/share/nginx/valitovgaziz/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user