-
-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reason for proxy_set_header Host $http_host; ? #113
Comments
Hi, thank you for your issue. The Host header has been added in order to fix #88 You can override the Host header with |
I encountered some issue with I tried to solve this by setting I've worked around this by modifying the
Additionally I modified No the most elegant solution since I now have to run image with |
Hi, |
I think that sounds like a good solution that would definitely solve my case and retain same default behavior as before. |
Should be fixed in 1.4.2 :) I'm pushing new docker images ! |
Welcome to my contributors list @Cvetk0 -> https://joxit.dev/docker-registry-ui/CONTRIBUTORS 👏 |
Hi - could not find "general query template"
For static build, in nginx there is:
proxy_set_header Host $http_host;
this will override host header send to registry to whatever we use to establish connection to UI.
In situation when REGISTRY_URL points directly do registry, it all works as intended, however, if registry is hidden behind rev-proxy (eg haproxy - in my case for ACL and multi tenancy purposes) we will get 404.
This is happening because haproxy does backend/routing based on host header and this one is being override.
The text was updated successfully, but these errors were encountered: