This commit is contained in:
zino
2024-06-08 14:23:38 +02:00
parent cc7a1ff8dc
commit dc7e6d8c61

View File

@@ -33,7 +33,7 @@ server {
auth_basic_user_file /usr/share/nginx/html/registry.zinomedia.de/.htpasswd; auth_basic_user_file /usr/share/nginx/html/registry.zinomedia.de/.htpasswd;
location /v2/ { location /v2/ {
add_header Access-Control-Allow-Origin "https://registryui.zinomedia.de"; add_header Access-Control-Allow-Origin "*";
add_header Access-Control-Allow-Credentials "true"; add_header Access-Control-Allow-Credentials "true";
add_header Access-Control-Allow-Headers "Authorization, Accept, Cache-Control"; add_header Access-Control-Allow-Headers "Authorization, Accept, Cache-Control";
add_header Access-Control-Allow-Methods "HEAD, GET, OPTIONS, DELETE"; add_header Access-Control-Allow-Methods "HEAD, GET, OPTIONS, DELETE";