nginx 绑定域名后跳转携带端口处理

server_name_in_redirect off;
port_in_redirect off;
proxy_set_header Host $host:80;

  

posted @ 2021-12-24 17:14  佚小名  阅读(645)  评论(0)    收藏  举报