Skip to content

Commit

Permalink
Increase client_max_body_size to 100M in Nginx config example
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
richieri-bps authored and sunnavy committed Dec 21, 2023
1 parent 2ee360a commit a525175
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/web_deployment.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a525175

Please sign in to comment.