diff --git a/nginx/nginx.conf b/nginx/nginx.conf index a02bb1d..b8e4361 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -22,6 +22,8 @@ http { server_name "private-docker-registry.nilstrieb.dev"; + client_max_body_size 0; + location / { proxy_pass https://registry:5000/; } diff --git a/nginx/nginx.local.conf b/nginx/nginx.local.conf index 236b74e..b318c0a 100644 --- a/nginx/nginx.local.conf +++ b/nginx/nginx.local.conf @@ -16,9 +16,10 @@ http { server_name "private-docker-registry.nilstrieb.dev"; + client_max_body_size 0; + location / { - return 404 'No registry here...'; - #proxy_pass http://registry:5000/; + proxy_pass http://registry:5000/; } }