尝试使用Nginx X-Accel
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user