From 4480e21fea193eb1fbbf08b9c3d3625834e5e84d Mon Sep 17 00:00:00 2001 From: Ashley Rich Date: Mon, 31 Jul 2017 13:02:53 +0100 Subject: [PATCH] Increase default buffer sizes --- nginx.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nginx.conf b/nginx.conf index 0d45556..806aa9e 100644 --- a/nginx.conf +++ b/nginx.conf @@ -32,6 +32,11 @@ http { # Limits & Timeouts include global/limits.conf; + # Some WP plugins that push large amounts of data via cookies + # can cause 500 HTTP erros if these values aren't increased. + fastcgi_buffers 16 16k; + fastcgi_buffer_size 32k; + # Default Logs error_log /var/log/nginx/error.log warn; access_log /var/log/nginx/access.log;