From d7f000873f2c59c6a1e1cf2838be11ca4dd1765a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 1 Dec 2010 01:41:17 +0100 Subject: [PATCH] allow larger POST requests in nginx config --- nginx/vhost.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nginx/vhost.in b/nginx/vhost.in index ee06cb51..d42f13d9 100644 --- a/nginx/vhost.in +++ b/nginx/vhost.in @@ -31,9 +31,7 @@ server { proxy_pass http://127.0.0.1:2620; break; } - } - location /api/upload { - client_max_body_size 32m; + client_max_body_size 32m; } error_page 404 /404.html;