Add some directives to make Nextcloud stop throwing 413s

This commit is contained in:
Salt 2021-09-11 10:36:22 -05:00
parent 3f8ecbd8f5
commit e405d7bf79
2 changed files with 3 additions and 0 deletions

View File

@ -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;

View File

@ -3,6 +3,8 @@
docker_container:
name: nextcloud
image: nextcloud:21
env:
PHP_UPLOAD_LIMIT: 1024M
networks:
- name: web
aliases: [ "nextcloud" ]