nginx获得response自定义的header

Response header send by upstream is $upstream_http_x_uuid

http://wiki.nginx.org/HttpUpstreamModule#.24upstream_http_.24HEADER

$upstream_http_$HEADER

Arbitrary HTTP protocol headers, for example:

$upstream_http_host


$http_x_* is header sent by client. 
posted @ 2015-01-28 10:01  悟寰轩-叶秋  阅读(8748)  评论(0编辑  收藏  举报