summaryrefslogtreecommitdiffstats
path: root/lass/2configs/websites
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-11-28 23:29:18 +0100
committermakefu <github@syntax-fehler.de>2016-11-28 23:29:18 +0100
commitab5b81b0b4a6396ca3b53fbe414a7aad2845d8bc (patch)
treed5493e9f9e9dff67107e6c62943dbbae24af92d6 /lass/2configs/websites
parent70dd1341b37e70866e811ab787031e4e74e98b09 (diff)
parentd8da51621e44f6577e6d725b6263837cfa70f2bd (diff)
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'lass/2configs/websites')
-rw-r--r--lass/2configs/websites/util.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/lass/2configs/websites/util.nix b/lass/2configs/websites/util.nix
index 3356fe9a8..0b2a6faac 100644
--- a/lass/2configs/websites/util.nix
+++ b/lass/2configs/websites/util.nix
@@ -88,6 +88,7 @@ rec {
# set max upload size
client_max_body_size 10G;
fastcgi_buffers 64 4K;
+ fastcgi_read_timeout 120;
# Disable gzip to avoid the removal of the ETag header
gzip off;
@@ -164,10 +165,11 @@ rec {
user = nginx
group = nginx
pm = dynamic
- pm.max_children = 5
+ pm.max_children = 32
+ pm.max_requests = 500
pm.start_servers = 2
- pm.min_spare_servers = 1
- pm.max_spare_servers = 3
+ pm.min_spare_servers = 2
+ pm.max_spare_servers = 5
listen.owner = nginx
listen.group = nginx
php_admin_value[error_log] = 'stderr'