# Proxy-wide upload limit for the nginx-proxy front container.
#
# nginx-proxy (nginxproxy/nginx-proxy) inherits nginx's built-in 1M default for
# client_max_body_size. Without this override the reverse proxy rejects uploads
# and backups larger than 1M with "413 Request Entity Too Large" before the
# request ever reaches the TeamPass container (issue #5234).
#
# Mounted into /etc/nginx/conf.d/ so it applies globally to every VIRTUAL_HOST.
# Keep this value aligned with PHP post_max_size / upload_max_filesize
# (PHP_POST_MAX_SIZE / PHP_UPLOAD_MAX_FILESIZE in .env) and with the internal
# nginx (docker/nginx/nginx.conf, docker/nginx/teampass.conf).
client_max_body_size 100M;
