From a52517500ae02a828693c971c9d1d391c27f3ee2 Mon Sep 17 00:00:00 2001 From: Ronaldo Richieri Date: Thu, 14 Dec 2023 10:52:04 -0300 Subject: [PATCH] Increase client_max_body_size to 100M in Nginx config example Nginx has a default limit of 1MB on the size of the request body. This is too small in most cases. This commit increases it to 100M that can cover most cases. --- docs/web_deployment.pod | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/web_deployment.pod b/docs/web_deployment.pod index d186800bc2f..c86a16d4cc8 100644 --- a/docs/web_deployment.pod +++ b/docs/web_deployment.pod @@ -195,6 +195,8 @@ With the nginx configuration: access_log /var/log/nginx/access.log; location / { + client_max_body_size 100M; + fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type;