server { listen 80; server_name pay.sinoassist.com; include /etc/nginx/ssl.conf; location /MP_verify_WjQInvWDvPvfZvL0.txt { default_type text/html; return 200 "WjQInvWDvPvfZvL0"; } location /api/ { proxy_next_upstream http_502 http_504 error timeout invalid_header; proxy_pass http://192.168.3.125:9216; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } location / { proxy_pass http://192.168.3.125:9226; proxy_set_header X-Forwarded-Host $server_name; if ($request_filename ~ .*\.(htm|html)$) { add_header Cache-Control no-cache; } } } server { listen 80; server_name pay-manager.sino-assist.com; include /etc/nginx/ssl.sino_assist.conf; location /api/ { proxy_next_upstream http_502 http_504 error timeout invalid_header; proxy_pass http://192.168.3.125:9217; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } location / { proxy_pass http://192.168.3.125:9227; proxy_set_header X-Forwarded-Host $server_name; if ($request_filename ~ .*\.(htm|html)$) { add_header Cache-Control no-cache; } } } server { listen 80; server_name pay-client.sino-assist.com; include /etc/nginx/ssl.sino_assist.conf; location /api/ { proxy_next_upstream http_502 http_504 error timeout invalid_header; proxy_pass http://192.168.3.125:9218; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } location / { proxy_pass http://192.168.3.125:9228; proxy_set_header X-Forwarded-Host $server_name; if ($request_filename ~ .*\.(htm|html)$) { add_header Cache-Control no-cache; } } }