The nginx proxy configured today, the colleague responded that the swagger did not respond, and the following situation occurred
Originally thought that there was a problem with the configured address, but no matter which network card address was replaced, a request header "proxy_set_header" was added under "proxy_pass", as shown below
location /bi/ {
proxy_pass http://127.0.0.1:9096;
proxy_set_header Host $host:$server_port;
}
....
References: