nginx网页跳转失败-302

nginx配置upstream跳转失败,网页status code 302
增加proxy_set_header Host $host:$server_port;
location / {
            proxy_pass http://zhcslyg-web;
            proxy_set_header Host $host:$server_port;
        }
原文地址:https://www.cnblogs.com/kylingx/p/12801994.html