mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-15 19:05:09 +01:00
add client_max_body_size to upload files > 2 MB
With the current configuration i can only upload files < 2MB. If i upload bigger files i get the error message "Request Entity Too Large" back. I add the Solution from [SnowMB @issues/95](https://github.com/nextcloud/docker/issues/95#issuecomment-322683966)
This commit is contained in:
parent
fb58bbb039
commit
fcd70ea8ef
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ services:
|
||||||
- ./proxy/html:/usr/share/nginx/html
|
- ./proxy/html:/usr/share/nginx/html
|
||||||
- ./proxy/certs:/etc/nginx/certs:ro
|
- ./proxy/certs:/etc/nginx/certs:ro
|
||||||
- /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
|
||||||
restart: always
|
restart: always
|
||||||
|
|
Loading…
Add table
Reference in a new issue