nginx实现反向代理

server {
listen 80;
server_name 1.123.com;

#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
location /1/ai/wx/ {

proxy_pass http://123.123.123.3:9039;
}
}

原文地址:https://www.cnblogs.com/lhlucky/p/10269036.html