Open liuguangqing opened 5 years ago
做了层转发
# 接口转发
location ~ / {
proxy_redirect off;
proxy_pass http://ip.ip.ip.ip:8082;
index index.html index.htm;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
本地运行成功后想部署上去 通过nginx去管理