更新 'nginx.conf'
This commit is contained in:
+4
-4
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user