0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-15 19:05:09 +01:00

Bugfix: MAX_UPLOAD_SIZE is ignored, this allows to upload files >1MB for proxy nginx

This commit is contained in:
Matthias Egli 2018-07-11 17:17:59 +02:00
parent ebfcbfb255
commit 8b25c139cb
2 changed files with 2 additions and 2 deletions

View file

@ -42,13 +42,12 @@ services:
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443
environment:
- MAX_UPLOAD_SIZE=10GB
volumes: volumes:
- certs:/etc/nginx/certs:ro - certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d - vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html - html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro - /var/run/docker.sock:/tmp/docker.sock:ro
- ./uploadsize.conf:/etc/nginx/conf.d/uploadsize.conf:ro
networks: networks:
- proxy-tier - proxy-tier
depends_on: depends_on:

View file

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