forked from ScoDoc/ScoDoc
Aligne max upload de Flask et nginx (16Mo)
This commit is contained in:
parent
54ed09ed08
commit
e56a97eaf6
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user