feat(nginx): cache缓存修复

这个提交包含在:
2024-04-16 14:35:47 +08:00 未验证
父节点 3e395dcc52
当前提交 4a2fe0b8c7
修改 3 个文件,包含 40 行新增1 行删除
+7 -1
查看文件
@@ -42,4 +42,10 @@ spec:
extraArgs:
default-ssl-certificate: "kube-system/dev-cm-crt"
config:
use-forwarded-headers: "true"
use-forwarded-headers: "true"
allow-snippet-annotations: "true"
http-snippet: |
proxy_cache_path /tmp/nginx-cache levels=1:2 keys_zone=cache:2m max_size=100m inactive=7d use_temp_path=off;
proxy_cache_key $scheme$proxy_host$request_uri;
proxy_cache_lock on;
proxy_cache_use_stale updating;