HTTP header

$http_name
arbitrary request header field; the last part of a variable name is the field name converted to lower case with dashes(中划线) replaced by underscores(下划线)

head中后面的变量如果有下划线,nginx默认不支持,需要在nginx.conf里http域里增加underscores_in_headers on;
相关文章
相关标签/搜索