From 69c5ae06a7ac2dde5f12b79048e0588aba399564 Mon Sep 17 00:00:00 2001 From: Thomas Fillon Date: Tue, 3 Mar 2015 14:43:50 +0100 Subject: [PATCH] Docker-compose: restore max upload size parameter for nginx configuration --- examples/deploy/nginx/sites-enabled/app.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/deploy/nginx/sites-enabled/app.conf b/examples/deploy/nginx/sites-enabled/app.conf index 9c41879..049e332 100644 --- a/examples/deploy/nginx/sites-enabled/app.conf +++ b/examples/deploy/nginx/sites-enabled/app.conf @@ -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 -- 2.39.5