[Nginx] Limit request body size, configurable via NGINX_MAX_BODY_SIZE

This commit is contained in:
FreddleSpl0it committed 2026-10-28 16:54:26 +01:00
1 parent 085d10118d
commit 4c7e2ec036
5 files changed
+25 -4

No files matched your search

+4
View File
@@ -215,6 +215,10 @@ HTTPS_BIND=
# Redirect HTTP connections to HTTPS - y/n
HTTP_REDIRECT=y
# Maximum request size for SOGo webmail, CalDAV/CardDAV and ActiveSync, e.g. 128m or 1g - 0 means unlimited
# Keep it above the message size limit of Postfix (100 MB by default). The mailcow UI and API stay limited to 64m.
NGINX_MAX_BODY_SIZE=128m
# ------------------------------
# Other bindings
# ------------------------------