diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-01-16 20:09:34 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-01-16 20:09:34 +0100 |
commit | 12f422fd95e3b5d6228f220c67ae2a203898007c (patch) | |
tree | 75b2bf05b5896ce960165a28b9b23b4f18a593c0 /install/nginx.conf.template | |
parent | 696671dea6b284eea36affd473d9f036de4db71f (diff) | |
download | Ishtar-12f422fd95e3b5d6228f220c67ae2a203898007c.tar.bz2 Ishtar-12f422fd95e3b5d6228f220c67ae2a203898007c.zip |
Indication of the maximum file size in help for file fields
Diffstat (limited to 'install/nginx.conf.template')
-rw-r--r-- | install/nginx.conf.template | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/install/nginx.conf.template b/install/nginx.conf.template index 15333393b..cf28553a8 100644 --- a/install/nginx.conf.template +++ b/install/nginx.conf.template @@ -4,7 +4,9 @@ server { root #INSTALL_PATH#; access_log /var/log/django/#APP_NAME#-access.log; error_log /var/log/django/#APP_NAME#-error.log; - client_max_body_size 20M; + # if you change client_max_body_size do not forget to change it also + # to your corresponding local_settings.py file + client_max_body_size #MAX_UPLOAD_SIZE#M; location /static/ { # STATIC_URL alias #INSTALL_PATH#/#APP_NAME#/static/; # STATIC_ROOT |