From 8ab6c25d898aed6b392df563fd4dc9641d6fad58 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Tue, 14 Feb 2023 16:11:30 +0100 Subject: [PATCH] discourse: FIX: Also allow 21m in dockerized nginx. So there's 3 place to configure max upload body size: - Discourse settings (Via admin web interface) - Host nginx (via Ansible) - Guest nginx (Via app.yml) --- roles/discourse/templates/app.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/discourse/templates/app.yml b/roles/discourse/templates/app.yml index abe6bc1..f5393ac 100644 --- a/roles/discourse/templates/app.yml +++ b/roles/discourse/templates/app.yml @@ -6,6 +6,7 @@ ## ## After making changes to this file, you MUST rebuild ## /var/discourse/launcher rebuild app +## Rebuild WILL cause ~10mn of downtime. ## ## visit http://www.yamllint.com/ to validate this file as needed @@ -21,6 +22,7 @@ params: db_shared_buffers: "256MB" db_work_mem: "40MB" version: tests-passed + upload_size: "21m" env: LANG: fr_FR.UTF-8