From 16c6f1611822448666bc076b52ad8451c020f193 Mon Sep 17 00:00:00 2001 From: ecentricsgr Date: Wed, 17 Feb 2021 22:54:32 +0100 Subject: [PATCH] fix: increase max body size --- client-max-body-size.conf | 2 ++ docker-compose.yml | 1 + 2 files changed, 3 insertions(+) create mode 100644 client-max-body-size.conf 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: