server {
listen 18088;
server_name xxx.admin;
access_log /mnt/sdc/nginxLogs/XX00.access.log main;
error_log /mnt/sdc/nginxLogs/XX01.error.log debug;
location / {
proxy_redirect off;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
index index;
proxy_pass http://192.168.0.7:8082;
}
}
listen 18088;
server_name xxx.admin;
access_log /mnt/sdc/nginxLogs/XX00.access.log main;
error_log /mnt/sdc/nginxLogs/XX01.error.log debug;
location / {
proxy_redirect off;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
index index;
proxy_pass http://192.168.0.7:8082;
}
}