nginx反向代理配置文件

燚林博客 / 2023-09-05 / 原文

yum install nginx -y
vi /etc/nginx/conf.d/default.conf
server {
                listen 10091;   //监听本地端口
                location / {
                        proxy_pass http://10.88.35.51:10091;   //代理主机地址
                }
        }