151

nginx 之$proxy_host|$host|$http_host区别-我的人生

 6 years ago
source link: http://blog.51cto.com/gyj110/2079981
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
proxy_set_header 允许重新定义或者添加发往后端服务器的请求头。value可以包含文本、变量或者它们的组合。 当且仅当当前配置级别中没有定义proxy_set_header指令时,会从上面的级别继承配置。 默认情况下,只有两个请求头会被重新定义:proxy_set_header Host $proxy_host;proxy_set_header Connection clo

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK