location / {
root /www/html;
index index.html index.htm;
##如果静态文件不存在,转发其他地址
if (!-e $request_filename){
proxy_pass http://127.0.0.1:8811;
}
}
nginx转发
猜你喜欢
转载自blog.csdn.net/weixin_41858542/article/details/82491365
今日推荐
周排行