Nginx/Squid出现403被拒绝的解决方法

在 server 段中,注释掉上面一行,或者去掉,添加下面的一行, proxy_set_header Host $host:80;

         #proxy_set_header Host $host;
         proxy_set_header Host   $host:80;

猜你喜欢

转载自xiaolin0199.iteye.com/blog/2016326