更新 'nginx.conf'

This commit is contained in:
Jay 2018-08-24 13:36:34 +00:00
parent dabdcf0143
commit 70434c7a2f
1 changed files with 4 additions and 4 deletions

View File

@ -8,11 +8,11 @@ server {
root /data;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
location ^~ $$prefix$$/ {
alias /data/;
}
location / {
try_files $uri $uri/ /index.html;
}
}