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_trusted_certificate /etc/letsencrypt/live/desu.ltd/chain.pem;
|
||||||
ssl_dhparam /etc/letsencrypt/dhparams/dhparam.pem;
|
ssl_dhparam /etc/letsencrypt/dhparams/dhparam.pem;
|
||||||
add_header Strict-Transport-Security "max-age=31536000";
|
add_header Strict-Transport-Security "max-age=31536000";
|
||||||
|
client_max_body_size 0;
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
docker_container:
|
docker_container:
|
||||||
name: nextcloud
|
name: nextcloud
|
||||||
image: nextcloud:21
|
image: nextcloud:21
|
||||||
|
env:
|
||||||
|
PHP_UPLOAD_LIMIT: 1024M
|
||||||
networks:
|
networks:
|
||||||
- name: web
|
- name: web
|
||||||
aliases: [ "nextcloud" ]
|
aliases: [ "nextcloud" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user