mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
client_max_body_size is a parameter of nginx.conf and not of default.conf (https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size )
add client_body_buffer_size prevents the following logs: [warn] a client request body is buffered to a temporary file
This commit is contained in:
2
debian/nginx/conf.d/default.conf
vendored
2
debian/nginx/conf.d/default.conf
vendored
@@ -8,8 +8,6 @@ server {
|
||||
|
||||
server_tokens off;
|
||||
|
||||
client_max_body_size 100M;
|
||||
|
||||
root /var/www/html/public;
|
||||
index index.php;
|
||||
|
||||
|
||||
5
debian/nginx/nginx.conf
vendored
5
debian/nginx/nginx.conf
vendored
@@ -22,5 +22,8 @@ http {
|
||||
keepalive_timeout 65;
|
||||
gzip on;
|
||||
|
||||
client_max_body_size 100M;
|
||||
client_body_buffer_size 100M;
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user