-
-
Notifications
You must be signed in to change notification settings - Fork 858
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
WEBADMIN redirect ignores host port #419
Comments
I remember fixing this a couple weeks ago, which version are you running currently? |
Oh, I'm running 1.5. |
So I tested it now with the updated 1.5 branch, and the master. |
Correction on the last one. Sorry for the inconvenience. |
Will the fix be ported back to 1.5? |
If I bind the http port of the front container to some non standard port (e.g. localhost:8080), the admin container originating 301 redirects ignore the original requested port in their Location header.
Say front is listening to localhost:8080.
An access to "localhost:8080/admin" results in a correct redirect to "localhost:8080/admin/ui", originating from the nginx proxy in front.
An access to "localhost:8080/admin/ui" results in a incorrect redirect to "http://localhost/admin/ui/", which originates from the admin container. (Port 8080 is ignored in the redirect response)
I tried to find the source of the issue, but I have zero flask/python experience.
The text was updated successfully, but these errors were encountered: