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

Issue with Access-Control-Allow-Credentials header #370

Open
arthur798 opened this issue Mar 28, 2024 · 1 comment
Open

Issue with Access-Control-Allow-Credentials header #370

arthur798 opened this issue Mar 28, 2024 · 1 comment

Comments

@arthur798
Copy link

Hi, I use this docker registry UI and I have an issue...

So I have a docker registry with this config:

docker-registry:
container_name: docker-registry
image: registry:latest
restart: unless-stopped
environment:
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Origin: '[https://mydomain.com]'
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Methods: '[HEAD,GET,OPTIONS,DELETE]'
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Credentials: '[true]'
REGISTRY_HTTP_HEADERS_Access-Control-Allow-Headers: '[Authorization,Accept,Cache-Control]'
REGISTRY_HTTP_HEADERS_Access-Control-Expose-Headers: '[Docker-Content-Digest]'

however when I try to go to the url:

image

However I can see the header inresponse:

image

@Joxit
Copy link
Owner

Joxit commented Apr 5, 2024

Hi, thank you for using my project.

Can I have messages from your browser console ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants