background in test environment A server, background pre-release in B server, front-end server in C
configure nginx reverse proxy interface in front-end C server,
has nothing to do with backend service?
proxy to test environment An is normal, changed to pre-published B result or visited A service! nginx must have restarted why?
location /api {
proxy_pass https://xx.xx.com/api;
proxy_set_header Cookie $http_cookie;
proxy_cookie_domain xx.com localhost;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host xx.com;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
}