Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
server {
listen 8088;
resolver 8.8.8.8;#设置dns地址
proxy_connect;
proxy_connect_allow 443 563;#允许443端口
proxy_connect_connect_timeout 10s;
proxy_connect_read_timeout 10s;
proxy_connect_send_timeout 10s;
location / {
proxy_pass http://$http_host;#设置代理地址,别用host,host不带端口号
proxy_set_header Host $http_host;
}
access_log /www/nginx/access.log main;
}
The rest is in the IE browser proxy settings, and specifically Baidu