Nginx代理本地web服务器怎么配置

展开全部

在nginx.conf配置文件中,修改location位置配置,参考如下:

location / {        proxy_pass :port           }