Allow uploads up to 10G
This commit is contained in:
parent
ae5dc6ca5a
commit
24bee4c85e
3 changed files with 16 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ volumes:
|
|||
#SSL
|
||||
certs:
|
||||
acme:
|
||||
vhost.d:
|
||||
# vhost.d:
|
||||
html:
|
||||
#NextCloud
|
||||
nc-appdata:
|
||||
|
|
@ -63,7 +63,7 @@ services:
|
|||
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
|
||||
volumes:
|
||||
- certs:/etc/nginx/certs:ro
|
||||
- vhost.d:/etc/nginx/vhost.d
|
||||
- ./vhost.d/:/etc/nginx/vhost.d:ro
|
||||
- html:/usr/share/nginx/html
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
ports:
|
||||
|
|
@ -78,7 +78,7 @@ services:
|
|||
volumes:
|
||||
- certs:/etc/nginx/certs
|
||||
- acme:/etc/acme.sh
|
||||
- vhost.d:/etc/nginx/vhost.d
|
||||
- ./vhost.d:/etc/nginx/vhost.d:ro
|
||||
- html:/usr/share/nginx/html
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
networks:
|
||||
|
|
|
|||
10
vhost.d/default
Normal file
10
vhost.d/default
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
## Start of configuration add by letsencrypt container
|
||||
location ^~ /.well-known/acme-challenge/ {
|
||||
auth_basic off;
|
||||
auth_request off;
|
||||
allow all;
|
||||
root /usr/share/nginx/html;
|
||||
try_files $uri =404;
|
||||
break;
|
||||
}
|
||||
## End of configuration add by letsencrypt container
|
||||
3
vhost.d/palta.cyou
Normal file
3
vhost.d/palta.cyou
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# From: https://github.com/nextcloud/docker/blob/85e22b4a8e6b12d82d574c7eacd68656dac85bf5/.examples/docker-compose/with-nginx-proxy/postgres/fpm/proxy/uploadsize.conf
|
||||
client_max_body_size 10G;
|
||||
proxy_request_buffering off;
|
||||
Loading…
Add table
Add a link
Reference in a new issue