m
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
map $upstream_http_docker_distribution_api_version $docker_distribution_api_version {
|
||||
'' 'registry/2.0';
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
@@ -34,7 +35,7 @@ server {
|
||||
|
||||
location /v2/ {
|
||||
if ($request_method = OPTIONS) {
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
add_header 'Access-Control-Allow-Origin' 'https://registryui.zinomedia.de';
|
||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
||||
add_header 'Access-Control-Allow-Headers' 'Authorization, Accept, Cache-Control';
|
||||
add_header 'Access-Control-Allow-Methods' 'HEAD, GET, OPTIONS, DELETE';
|
||||
@@ -43,7 +44,7 @@ server {
|
||||
return 204;
|
||||
}
|
||||
|
||||
add_header Access-Control-Allow-Origin "*";
|
||||
add_header Access-Control-Allow-Origin "https://registryui.zinomedia.de";
|
||||
add_header Access-Control-Allow-Credentials "true";
|
||||
add_header Access-Control-Allow-Headers "Authorization, Accept, Cache-Control";
|
||||
add_header Access-Control-Allow-Methods "HEAD, GET, OPTIONS, DELETE";
|
||||
|
||||
Reference in New Issue
Block a user