From 4e1869b635517420e3bd436847ff65448641efe6 Mon Sep 17 00:00:00 2001 From: kaiyou Date: Sun, 10 Sep 2017 14:38:45 +0200 Subject: [PATCH] Increase the max size of http requests, fix #207 --- nginx-no-https/nginx.conf.default | 1 + nginx/nginx.conf.default | 1 + nginx/nginx.conf.fallback | 1 + 3 files changed, 3 insertions(+) diff --git a/nginx-no-https/nginx.conf.default b/nginx-no-https/nginx.conf.default index 4062f7b0..f2480ad1 100644 --- a/nginx-no-https/nginx.conf.default +++ b/nginx-no-https/nginx.conf.default @@ -23,6 +23,7 @@ http { sendfile on; keepalive_timeout 65; server_tokens off; + client_max_body_size 25m; server { listen 80; diff --git a/nginx/nginx.conf.default b/nginx/nginx.conf.default index 1e2fb4ae..69ccc90b 100644 --- a/nginx/nginx.conf.default +++ b/nginx/nginx.conf.default @@ -23,6 +23,7 @@ http { sendfile on; keepalive_timeout 65; server_tokens off; + client_max_body_size 25m; server { listen 80; diff --git a/nginx/nginx.conf.fallback b/nginx/nginx.conf.fallback index a6dc68f5..9b3e1e95 100644 --- a/nginx/nginx.conf.fallback +++ b/nginx/nginx.conf.fallback @@ -18,6 +18,7 @@ http { sendfile on; keepalive_timeout 65; server_tokens off; + client_max_body_size 25m; server { listen 80;