最佳答案
您可以像这样添加标题:
add_header X-Cache-Status $upstream_cache_status
http://wiki.nginx.org/HttpUpstreamModule#.24upstream_cache_status
add_header X-Cache-Status $upstream_cache_status
http://wiki.nginx.org/HttpUpstreamModule#.24upstream_cache_status