Add some directives to make Nextcloud stop throwing 413s
This commit is contained in:
parent
3f8ecbd8f5
commit
e405d7bf79
@ -73,6 +73,7 @@
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/desu.ltd/chain.pem;
|
||||
ssl_dhparam /etc/letsencrypt/dhparams/dhparam.pem;
|
||||
add_header Strict-Transport-Security "max-age=31536000";
|
||||
client_max_body_size 0;
|
||||
location / {
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
@ -3,6 +3,8 @@
|
||||
docker_container:
|
||||
name: nextcloud
|
||||
image: nextcloud:21
|
||||
env:
|
||||
PHP_UPLOAD_LIMIT: 1024M
|
||||
networks:
|
||||
- name: web
|
||||
aliases: [ "nextcloud" ]
|
||||
|
Loading…
Reference in New Issue
Block a user