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.
pull/1/head
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"
];
volumes = [
"${./configs/nginx-proxy.conf}:/etc/nginx/conf.d/general.conf:ro"
# So that we can watch new containers come up
"/var/run/docker.sock:/tmp/docker.sock:ro"
# So that we can access generated certs