nginx反向代理

location /zui { 
     proxy_pass              http://localhost;  #请求转向
}

 注意:PHP代理PHP请求需要关闭php-fpm设置

posted on 2018-08-14 17:15  降魔  阅读(101)  评论(0编辑  收藏  举报