#上面的部分还是监听80端口,server_name可以写通配符,如*.com *.cn等,在windows服务器上绑定好域名就行
location / {
proxy_pass http://127.0.0.1:8000; #这里改为windows服务器的IP
proxy_set_header Host $host;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_connect_timeout 60;
proxy_read_timeout 600;
proxy_send_timeout 600;
}