From 005cd1a706f79372596549fa0ef4d4adfe30b7c7 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Wed, 15 Sep 2021 17:55:27 +0000 Subject: [PATCH] nginx/site: Add extra options to registry.foo.sh --- roles/nginx/site/templates/registry.foo.sh.conf.j2 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 roles/nginx/site/templates/registry.foo.sh.conf.j2 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; +