server {
listen 80;
server_name test.xxx.com;
root /usr/share/nginx/html;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-Ip $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://127.0.0.1:8095/;
}
}