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
|
#SSL
|
||||||
certs:
|
certs:
|
||||||
acme:
|
acme:
|
||||||
vhost.d:
|
# vhost.d:
|
||||||
html:
|
html:
|
||||||
#NextCloud
|
#NextCloud
|
||||||
nc-appdata:
|
nc-appdata:
|
||||||
|
|
@ -63,7 +63,7 @@ services:
|
||||||
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
|
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
|
||||||
volumes:
|
volumes:
|
||||||
- certs:/etc/nginx/certs:ro
|
- certs:/etc/nginx/certs:ro
|
||||||
- vhost.d:/etc/nginx/vhost.d
|
- ./vhost.d/:/etc/nginx/vhost.d:ro
|
||||||
- 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
|
||||||
ports:
|
ports:
|
||||||
|
|
@ -78,7 +78,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- certs:/etc/nginx/certs
|
- certs:/etc/nginx/certs
|
||||||
- acme:/etc/acme.sh
|
- acme:/etc/acme.sh
|
||||||
- vhost.d:/etc/nginx/vhost.d
|
- ./vhost.d:/etc/nginx/vhost.d:ro
|
||||||
- html:/usr/share/nginx/html
|
- html:/usr/share/nginx/html
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
networks:
|
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