启动命令:/usr/nginx/sbin/nginx
如果已经启动的话,直接/usr/nginx/sbin/nginx -s reload
server { listen 80; server_name www.xxx.com; location / { proxy_pass http://localhost:8686/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }}