Skip to content

Commit

Permalink
Bump client_max_body_size to 0 (disable), fixes ddev#1507
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Mar 28, 2019
1 parent 9fb54a4 commit 6aa516b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion containers/ddev-router/nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ log_format vhost '$host $remote_addr - $remote_user [$time_local] '

access_log off;

client_max_body_size 100m;
client_max_body_size 0;

{{ if $.Env.RESOLVERS }}
resolver {{ $.Env.RESOLVERS }};
Expand Down
2 changes: 1 addition & 1 deletion containers/ddev-webserver/files/etc/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ http {
# Sets the maximum allowed size of the client request body, specified in the
# "Content-Length" request header field. If the size in a request exceeds the
# configured value, the 413 error is returned to the client.
client_max_body_size 100m;
client_max_body_size 0;

# Enable gzip compression.
gzip on;
Expand Down

0 comments on commit 6aa516b

Please sign in to comment.