diff options
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 |