From 4c4c8732292ef303faa3dbdb61384e6073d8c952 Mon Sep 17 00:00:00 2001 From: zadam Date: Sun, 3 Feb 2019 17:03:29 +0100 Subject: [PATCH] added note about max size of request body --- Server-installation.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Server-installation.md b/Server-installation.md index 24783cc..3d25d06 100644 --- a/Server-installation.md +++ b/Server-installation.md @@ -35,4 +35,11 @@ location /trilium/ { proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } +``` + +It's also advised to add following to `server {}` block to not limit size of payloads: + +``` +# set to 0 for unlimited. Default is 1M. +client_max_body_size 0; ``` \ No newline at end of file