no response from server

The nginx proxy configured today, the colleague responded that the swagger did not respond, and the following situation occurred

no response from server

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_set_header Host $host:$server_port;



  1. After swagger uses Nginx reverse proxy, the solution to no response from server error

Guess you like