nginx发布Asp.net程序
1.下载nginx
停止:C:\server\nginx-1.0.2>nginx.exe -s stop
3.添加项目路径
修改conf文件夹下面的nginx.conf文件
listen 8086;
server_name localhost;
location / {
root D:\WebSites\test1;
index Default.aspx;
proxy_pass http://127.0.0.1:87;
}
4.访问