首页 > 其他 > 详细

nginx proxy pass redirects ignore port

时间:2020-04-26 20:16:56      阅读:60      评论:0      收藏:0      [点我收藏+]

 

nginx proxy pass redirects ignore port

 

$host in this order of precedence: host name from the request line, or host name from the “Host” request header field, or the server name matching a request

 

http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_set_header
 
proxy_set_header Host       $host:$proxy_port;

 NGINX Docs | NGINX Reverse Proxy https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/#passing-request-headers

 

nginx proxy pass redirects ignore port

原文:https://www.cnblogs.com/yuanjiangw/p/12781575.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!