Closed Doc-Saintly closed 10 months ago
This is a super late review, but I don't understand what issue this is addressing ... I don't understand why a regular redirect would end up in a 502. The new mode looks like a regular reverse proxy / proxy pass, but with less options enable and proxy_redirect not set to off ... Is that the root cause of the issue ? Would be nice to have a way to reproduce the initial issue ...
@Doc-Saintly ?
Closing due to lack of feedback and app got refactored
In the case of hosting an application like myapp.mydomain.com and trying to redirect www.myapp.com -> myapp.mydomain.com it would always fail with a 502 gateway error.
This should fix that.