Is it possible to have the proxy module communicate with back-end
servers using HTTP/1.1? The back-end servers that I am proxying, in this
case, require the Host header as part of the HTTP/1.1 protocol.
I’m not sure but i think i might be having the same issue. I have a
swiftiply server as backend that requires host header to select the
right application to serve. It seems my backend server is not getting
these as I am alwasy served the default application no matter what i
write in the url…
Found my problem. I was sending the wrong host (duh). Setting the header
host with $host would send to my swiftiply server the host
“blabla.mynginxserver.com” which is not recognized and so returns the
default application.