From e56a97eaf6a06c87060a6021f9940d3e51c83c9b Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Tue, 19 Oct 2021 15:57:28 +0200 Subject: [PATCH] Aligne max upload de Flask et nginx (16Mo) --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.py b/config.py index f9f359b54..672832db4 100755 --- a/config.py +++ b/config.py @@ -33,7 +33,7 @@ class Config: # evite confusion avec le log nginx scodoc_error.log: SCODOC_ERR_FILE = os.path.join(SCODOC_VAR_DIR, "log", "scodoc_exc.log") # - MAX_CONTENT_LENGTH = 10 * 1024 * 1024 # Flask uploads + MAX_CONTENT_LENGTH = 16 * 1024 * 1024 # Flask uploads (16Mo, en ligne avec nginx) # STATIC_URL_PATH = "/ScoDoc/static" # static_folder = "stat"