尝试使用Nginx X-Accel

This commit is contained in:
zema1 committed 2017-12-01 21:53:13 +08:00
1 parent e21f0c7301
commit b550da5796
3 files changed
+38 -15

No files matched your search

+6 -1
View File
@@ -9,6 +9,11 @@ location /api {
client_max_body_size 200M;
}
location /data/ {
internal;
alias /data/; # note that trailing slash
}
location /admin {
root /app/dist/admin;
try_files $uri $uri/ /index.html =404;
@@ -17,4 +22,4 @@ location /admin {
location / {
root /app/dist;
try_files $uri $uri/ /index.html =404;
}
}