From 13d3c332313aeec43b8fade23ecc9482ff01bc1a Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Tue, 17 Dec 2024 14:02:41 +0100 Subject: [PATCH] Make upload size limit configurable via NGINX_CLIENT_MAX_BODY_SIZE --- .env.dist | 1 + docker-compose.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.env.dist b/.env.dist index 95adfd7..3a0a762 100644 --- a/.env.dist +++ b/.env.dist @@ -4,6 +4,7 @@ # MEMCACHE_VERSION=1.6.34-alpine # NGINX_PORT=8080 # NGINX_EXPOSE_PORT=8080 +# NGINX_CLIENT_MAX_BODY_SIZE=50M # POSTGRES_DB=zammad_production # POSTGRES_PASS=zammad # POSTGRES_USER=zammad diff --git a/docker-compose.yml b/docker-compose.yml index 5c39092..5df9986 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,6 +30,7 @@ x-shared: ELASTICSEARCH_REINDEX: ELASTICSEARCH_SSL_VERIFY: NGINX_PORT: + NGINX_CLIENT_MAX_BODY_SIZE: NGINX_SERVER_NAME: NGINX_SERVER_SCHEME: RAILS_TRUSTED_PROXIES: