nginx/site: Add extra options to registry.foo.sh
This commit is contained in:
parent
c2e6c0f59d
commit
005cd1a706
1 changed files with 6 additions and 0 deletions
6
roles/nginx/site/templates/registry.foo.sh.conf.j2
Normal file
6
roles/nginx/site/templates/registry.foo.sh.conf.j2
Normal file
|
@ -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;
|
||||
|
Loading…
Add table
Reference in a new issue