IIS的网站
端口是8086
Nginx 配置指向IIS的8086
这样可以不用输端口,nginx/confi/nginx.conf
server {
listen 80;
server_name localhost;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root html ;
index index.html index.htm;
}
location /h55/ {
index index.html index.htm;
proxy_pass http://192.168.1.207:8086/;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
运行效果
直接:htttp://192.168.1.xx/h55 即可运行