-
请教一个nginx 反向代理的问题
2015-10-27 14:00参考修改
upstream jira.hlvtech.com{
server 192.168.1.241:9080;
}server {
listen 80;
server_name jira.hlvtech.com;
location / {
proxy_pass http://jira.hlvtech.com;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}