]> git.parisson.com Git - timeside.git/commitdiff
Docker-compose: restore max upload size parameter for nginx configuration
authorThomas Fillon <thomas@parisson.com>
Tue, 3 Mar 2015 13:43:50 +0000 (14:43 +0100)
committerThomas Fillon <thomas@parisson.com>
Tue, 3 Mar 2015 13:43:50 +0000 (14:43 +0100)
examples/deploy/nginx/sites-enabled/app.conf

index 9c418792fcd3dc9433daca9c08887ae1475eb09a..049e332545ae98cba4ad3b0f73a38b0c8d5bd996 100644 (file)
@@ -9,9 +9,12 @@ server {
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-       #charset koi8-r;
+       #charset utf-8;;
        #access_log /var/log/nginx/log/host.access.log main;
+
+       # max upload size
+       client_max_body_size 75M; # adjust to taste
+       
        # Django media
        location /media {
                        alias /media; # your Django project's media files - amend as required