From ae10cd2a6b51d699a56a6c6013ef747e7fcf945f Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 9 Jul 2023 11:01:59 +0800 Subject: [PATCH] fix nginx --- nginx.conf | 8 -------- 1 file changed, 8 deletions(-) diff --git a/nginx.conf b/nginx.conf index ba3c69b1..db0fa344 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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 {