1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/trilium_ynh.git synced 2024-10-01 13:34:49 +02:00

Increase upload limit

taken from nextcloud_ynh
This commit is contained in:
tituspijean 2024-01-07 18:42:39 +01:00 committed by GitHub
parent 63cede4e59
commit bd7bf9946f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,11 @@ location __PATH__/ {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Forwarded-Port $server_port;
# Set max upload size
client_max_body_size 10G;
client_body_timeout 300s;
fastcgi_buffers 64 4K;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;