From 2ef2d1296e2d74518e5d66492f8e8b145b8df299 Mon Sep 17 00:00:00 2001 From: mdphoto Date: Fri, 12 Jun 2020 17:41:57 +0200 Subject: [PATCH] Add client max body size --- conf/nginx.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/nginx.conf.j2 b/conf/nginx.conf.j2 index 40ff7ea..f85ca62 100644 --- a/conf/nginx.conf.j2 +++ b/conf/nginx.conf.j2 @@ -4,6 +4,8 @@ location / { } try_files $uri @{{ app }}; } + client_max_body_size 50M; + location @{{ app }} { proxy_pass http://127.0.0.1:{{ port }}; proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;