$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

 

相关文章:

  • 2021-04-15
  • 2022-01-07
  • 2021-08-06
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-05
  • 2021-06-26
  • 2021-06-17
  • 2022-02-22
  • 2022-01-12
相关资源
相似解决方案