From b79dd17acdd650e1f32e5db1d560f54231bbf08a Mon Sep 17 00:00:00 2001 From: Sebastien Mennetrier Date: Mon, 11 Jan 2021 16:38:49 +0100 Subject: [PATCH] Set client max body size to 0 --- conf/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 3f89095..929bc94 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,6 +8,9 @@ location / { if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } + + client_max_body_size 0; + proxy_set_header Accept-Encoding ""; proxy_pass http://localhost:__PORT__; proxy_set_header Host $http_host;