fix nginx
This commit is contained in:
@ -46,14 +46,6 @@ http {
|
||||
|
||||
# 向后端API转发请求
|
||||
proxy_pass http://backend_api;
|
||||
|
||||
# 设置缓存忽略的请求头
|
||||
proxy_ignore_headers Cache-Control;
|
||||
proxy_ignore_headers Set-Cookie;
|
||||
|
||||
# 设置缓存绕过的条件
|
||||
proxy_cache_bypass $http_cache_control $http_pragma $http_authorization;
|
||||
proxy_no_cache $http_cache_control $http_pragma $http_authorization;
|
||||
}
|
||||
|
||||
location /api {
|
||||
|
Reference in New Issue
Block a user