diff --git a/client-max-body-size.conf b/client-max-body-size.conf new file mode 100644 index 0000000..4484fd0 --- /dev/null +++ b/client-max-body-size.conf @@ -0,0 +1,2 @@ +client_max_body_size 20m; +proxy_request_buffering off; diff --git a/docker-compose.yml b/docker-compose.yml index 8e8d88a..b7ab4a2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,6 +30,7 @@ services: - ./volumes/nginx/html:/usr/share/nginx/html - ./volumes/nginx/dhparam:/etc/nginx/dhparam - ./volumes/nginx/certs:/etc/nginx/certs:ro + - ./client-max-body-size.conf:/etc/nginx/conf.d/client-max-body-size.conf:ro # Letsencrypt automated creation, renewal and use of Let's Encrypt certificates # Reference: