From 2b85d8b47269e48cf8443b73d6e0eed5bd4a352b Mon Sep 17 00:00:00 2001 From: Roman Demidov Date: Fri, 12 Mar 2021 12:55:49 +0300 Subject: [PATCH] Add support for large attachments (#62) --- config/ds-ssl.conf.tmpl | 1 + config/ds.conf.tmpl | 1 + 2 files changed, 2 insertions(+) diff --git a/config/ds-ssl.conf.tmpl b/config/ds-ssl.conf.tmpl index d63cfd5..bf40202 100644 --- a/config/ds-ssl.conf.tmpl +++ b/config/ds-ssl.conf.tmpl @@ -91,4 +91,5 @@ server { proxy_set_header X-Forwarded-Proto $the_scheme; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } + client_max_body_size 100m; } diff --git a/config/ds.conf.tmpl b/config/ds.conf.tmpl index 74e5163..75d21b9 100644 --- a/config/ds.conf.tmpl +++ b/config/ds.conf.tmpl @@ -42,5 +42,6 @@ server { proxy_set_header X-Forwarded-Proto $the_scheme; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } + client_max_body_size 100m; }