server {
listen 8899;
server_name localhost;
location / {
proxy_redirect off;
proxy_pass http://localhost:9527;
proxy_set_header Host $http_host;
proxy_set_header Remote_Addr $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
|