加 spa
proxy_ignore_headers "Cache-Control" "Expires" "Set-Cookie" "Vary"; server
解決 io
location / { stream
proxy_cache cache_m; proxy_cache_valid 200 304 6h; proxy_cache_key $host$uri$is_args$args; proxy_ignore_headers "Cache-Control" "Expires" "Set-Cookie" "Vary"; add_header Nginx-Cache "$upstream_cache_status"; include proxy.conf; proxy_pass http://server; expires 6h; }