更新 'nginx.conf'
This commit is contained in:
parent
dabdcf0143
commit
70434c7a2f
@ -8,11 +8,11 @@ server {
|
|||||||
root /data;
|
root /data;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
|
}
|
||||||
|
|
||||||
location ^~ $$prefix$$/ {
|
location ^~ $$prefix$$/ {
|
||||||
alias /data/;
|
alias /data/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
|
||||||
try_files $uri $uri/ /index.html;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user