Update nginx.conf

Add client_max_body_size in nginx.conf for upload files
This commit is contained in:
Guillaume Roche 2015-02-25 20:59:26 +01:00
parent bc508761e9
commit 5a43074f2f

View file

@ -3,7 +3,7 @@ location PATHTOCHANGE {
if ($scheme = http) { if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
} }
client_max_body_size 10G;
index index.php; index index.php;
rewrite ^PATHTOCHANGE/dashboard|^PATHTOCHANGE/settings|^PATHTOCHANGE/welcome|^PATHTOCHANGE/ws- PATHTOCHANGE/index.php last; rewrite ^PATHTOCHANGE/dashboard|^PATHTOCHANGE/settings|^PATHTOCHANGE/welcome|^PATHTOCHANGE/ws- PATHTOCHANGE/index.php last;