优化
This commit is contained in:
@@ -12,6 +12,13 @@ server {
|
||||
return 200 "ok\n";
|
||||
}
|
||||
|
||||
location = /runtime-config.js {
|
||||
add_header Cache-Control "no-cache, no-store, must-revalidate" always;
|
||||
add_header Pragma "no-cache" always;
|
||||
add_header Expires "0" always;
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
# 前端代码中的 API 前缀为 /api;保持原始路径转给 Gateway。
|
||||
location /api/ {
|
||||
client_max_body_size 12m;
|
||||
|
||||
Reference in New Issue
Block a user