fix nginx

This commit is contained in:
jxxghp 2023-07-09 11:01:59 +08:00
parent 0e2cea9029
commit ae10cd2a6b

View File

@ -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 {