force-cache.conf 272 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 proxy_cache cache_one_wap; proxy_cache_valid 200 1m; proxy_cache_min_uses 1; proxy_cache_key $host$uri; # 忽略?后边的参数 add_header X-Cache-Status $upstream_cache_status; # proxy_ignore_headers "Set-Cookie"; # 绝对不能加,加了存在串 sessionID 的隐患