server { listen 80; server_name xx.xx.com; location / { proxy_pass http://172.17.108.67:8080; #以下三行代码 proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } }
server { listen 80; server_name xx.xx.com; location / { proxy_pass http://172.17.108.67:8080; #以下三行代码 proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } }