- 域名
IIS服务器设置代理实现Node接口转发
时间:2010-12-5 17:23:32 作者:IT科技类资讯 来源:域名 查看: 评论:0
内容摘要:复制http{ includemime.types; default_typeapplication/octet-stream; se

设置实现
复制http { include mime.types; default_type application/octet-stream; sendfile on; keepalive_timeout 65; gzip on; upstream springboot { server 127.0.0.1:6600 max_fails=2 fail_timeout=5s; } server { listen 80; # 主机名或域名 server_name www.xxx.com; location / { proxy_pass http://springboot; } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } } } 1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.24.25.26.