0

When I put the http proxy behind nginx using proxy_pass directive, the http proxy receives a request like GET /some/path while it expects to receive a request like GET http://some.domain/some/path. How should I configure nginx to not omit the hostname passed URL? Note that only setting the Host header is not enough for the http proxy to function correctly.

semekh
  • 145
  • 6

0 Answers0