From 12f422fd95e3b5d6228f220c67ae2a203898007c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 16 Jan 2019 20:09:34 +0100 Subject: Indication of the maximum file size in help for file fields --- install/nginx.conf.template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'install/nginx.conf.template') 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 -- cgit v1.2.3