diff options
author | lassulus <lass@aidsballs.de> | 2016-11-27 15:24:28 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-11-27 15:24:28 +0100 |
commit | a5c6edac90da0cbfe3d60ee8c920256f9e0f6738 (patch) | |
tree | 1f65194e211b02b305c567eecf75b37a3667f78f /lass/2configs/websites | |
parent | 8387e569be5cb4ce48423f0c9c989f524ac83aa2 (diff) |
l 2 websites util: more power to owncloud
Diffstat (limited to 'lass/2configs/websites')
-rw-r--r-- | lass/2configs/websites/util.nix | 8 |
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' |