Add client_max_body_size configuration to nginx-proxy

Technically I could use a per-host configuration here and forego the
whole nextcloud nginx container, but for the time being it's simpler
to set the global upload limit to 16G as well.
This commit is contained in:
Tristan Daniël Maat 2020-07-13 21:42:43 +01:00
parent 9b5c8eea37
commit d59a8b8fc6
Signed by: tlater
GPG key ID: 49670FD774E43268
2 changed files with 2 additions and 0 deletions

View file

@ -0,0 +1 @@
client_max_body_size 16G;

View file

@ -9,6 +9,7 @@
"443:443" "443:443"
]; ];
volumes = [ volumes = [
"${./configs/nginx-proxy.conf}:/etc/nginx/conf.d/general.conf:ro"
# So that we can watch new containers come up # So that we can watch new containers come up
"/var/run/docker.sock:/tmp/docker.sock:ro" "/var/run/docker.sock:/tmp/docker.sock:ro"
# So that we can access generated certs # So that we can access generated certs