-
Notifications
You must be signed in to change notification settings - Fork 49
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
Reverse Proxy "subpath" request #179
Comments
Hi Mike, let's try something :) The Framework I'm using for this app allows to configure a subfolder it's running under. For example:
Maybe this already helps. Best, Klaus |
Hi Klaus, just tried with
without success - ill gonna minimize my nginx config tomorrow and see if i can strip the /registry-browser/ piece totally out. best |
Ok, here's what i got so far: Function
Docker Start script
NGINX CONF
But thats sufficient for now, i got what i needed ;) FYI: best regards |
Thx for your feedback. I did a bit of research and experimenting and the result looks promising.
I didn't check the delete functionality but maybe you can give it a try and see if it's working for you. |
Hi Klaus, thanks for the great work !. Unfortunately, the "Delete tag" does not work, giving me an error 500 as shown above, the X-Forwarded-Proto is set Erorr Message
Resp. headers
The error is the following in the logs
|
Ok. The message "Faraday::ClientError (the server responded with status 405)" indicates that in the registry backend itself the deletion isn't enabled. Just set |
Bloody mother of ... thanks for pointing it to a blind man ... The tag latest has been deleted. |
🎉 So everything is working fine now? |
Yes brilliant !!! Thank you very much ! |
Just had the same issue and can confirm setting the environment var: RAILS_RELATIVE_URL_ROOT to the subpath works! Should this be added to the README? |
@willhoyle think that's a good idea. Would you like to send a PR for it? |
Sure, here it is: #209 |
Hi,
i am running the registry browser behind a nginx reverse proxy (to follow the architecture, do TLS & auth). Sadly i can not pass through on a dedicated port so i have to use a shared domain like admin.mybox.com and rely on the routes like admin.mybox.com/jenkins or admin.mybox.com/registry-browser/
I am pretty sure i set everything so it should work as expected but once i hit the route for docker-registry-browser, i immideately get a redirect (301) to "wrong" route like:
admin.mybox.com/repo/ which is not redirected within nginx.
For most tools i've seen yet, i need to tell them the route they run within, since they expect to run at /.
Could you please add config option for the route/path the secript wiil run under so the redirects will not fire into nowhere ? I know this might be an edgy one but i hope it will also not be a big one to fix -D
cheers
Mike
The text was updated successfully, but these errors were encountered: