Hello Nginx community!
I am since a bit of time trying to set up a backend server on my Nginx instance.
I can access the backend directly with: status.domain.com on port 443.
When I add this to my nginx settings:
location /status {
proxy_pass https://status.domain.com/;
}
I would expect it to forward all requests to the status machine.
It doesn't matter if I add trailing slashes in location or proxy_pass directive...
With those settings I get redirected to status.domain.com
I'd like to have all to go through the proxy.
What am I missing here?
Thanks
David
I am since a bit of time trying to set up a backend server on my Nginx instance.
I can access the backend directly with: status.domain.com on port 443.
When I add this to my nginx settings:
location /status {
proxy_pass https://status.domain.com/;
}
I would expect it to forward all requests to the status machine.
It doesn't matter if I add trailing slashes in location or proxy_pass directive...
With those settings I get redirected to status.domain.com
I'd like to have all to go through the proxy.
What am I missing here?
Thanks
David