diff --git a/roles/nginx/site/templates/registry.foo.sh.conf.j2 b/roles/nginx/site/templates/registry.foo.sh.conf.j2 new file mode 100644 index 0000000..df0bb11 --- /dev/null +++ b/roles/nginx/site/templates/registry.foo.sh.conf.j2 @@ -0,0 +1,6 @@ + # disable any limits to avoid HTTP 413 for large image uploads + client_max_body_size 0; + + # required to avoid HTTP 411: see Issue #1486 (https://github.com/moby/moby/issues/1486) + chunked_transfer_encoding on; +