Skip to content
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

Not working with index.html #225

Closed
FStefanni opened this issue Jan 12, 2022 · 1 comment
Closed

Not working with index.html #225

FStefanni opened this issue Jan 12, 2022 · 1 comment
Labels
Milestone

Comments

@FStefanni
Copy link

Hi, I use this docker registry UI and I have an issue.
I am using the proxy scenario, to avoid cors/mixed content/authentication/etc issues.

Bug description

If I access the ui as:

https://myserver.test/registry-ui/

it works fine.

If instead I access:

https://myserver.test/registry-ui/index.html

the GUI shows up, but complains as "Server not found", since it tries to access https://myserver.test/registry-ui/index.html/v2/_catalog?n=100000 instead of https://myserver.test/registry-ui/v2/_catalog?n=100000.

How to Reproduce

Probably using one of this project examples of the proxy scenario suffices.

Expected behavior

To access the registry. Basically, the request should "strip" index.html from the url.

System information

Using this project official docker image, v 2.0.1

@Joxit
Copy link
Owner

Joxit commented Feb 5, 2022

Hello, thank you for using my project 😄

Yes you're right, I should redirect every index.html to / (I do not like URLs ending with index.html 😛)

@Joxit Joxit added the bug label Feb 5, 2022
@Joxit Joxit added this to To do in docker-registry-ui via automation Feb 5, 2022
@Joxit Joxit closed this as completed in 126509d Mar 11, 2022
docker-registry-ui automation moved this from To do to Done Mar 11, 2022
@Joxit Joxit added this to the 2.2.0 milestone Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants