nginx ipv4 ipv6 chrome /firefox remote-address/chrome://net-internals/dns

nginx ---access log

server {
listen 80;
listen [::]:80;
server_name localhost;
location / {
proxy_http_version 1.1;
proxy_set_header   Host    $http_host;
proxy_set_header   X-Real-IP $remote_addr;
proxy_set_header   Upgrade $http_upgrade;
proxy_set_header   Connection "upgrade";
proxy_cache_bypass $http_upgrade;
proxy_pass         http://127.0.0.1:7777;
}
}

posted on 2018-03-24 12:50  szllq2000  阅读(261)  评论(0)    收藏  举报