server {
listen 8090;
server_name localhost;
access_log D:\\workspace-python\\bermuda\\logs\\access_8090.log;
location ~* \.(css|html|js|gif|jpg|jpeg|png|ico)$ {
root "D:\\workspace-python\\bermuda\\static\\html";
}
location / {
proxy_pass http://127.0.0.1:8088;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
window nginx 反向代理
猜你喜欢
转载自cooler1217.iteye.com/blog/1666395
今日推荐
周排行