summaryrefslogtreecommitdiff
path: root/plugins/php-fpm/templates/pool
diff options
context:
space:
mode:
authormikka <miklos.martin@gmail.com>2012-09-02 15:43:20 +0200
committermikka <miklos.martin@gmail.com>2012-09-02 15:43:20 +0200
commit3ef82a908a10979d9a4d14e0674902c85b14a99e (patch)
tree3c0793436e5e219d36136773f156cffae0e6ee49 /plugins/php-fpm/templates/pool
parent921d2f49ef01acce973980c0aa9c6ffbbd2fbd0b (diff)
downloadzsh-3ef82a908a10979d9a4d14e0674902c85b14a99e.tar.gz
zsh-3ef82a908a10979d9a4d14e0674902c85b14a99e.tar.bz2
zsh-3ef82a908a10979d9a4d14e0674902c85b14a99e.zip
nginx and php-fpm plugins
Diffstat (limited to 'plugins/php-fpm/templates/pool')
-rw-r--r--plugins/php-fpm/templates/pool11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/php-fpm/templates/pool b/plugins/php-fpm/templates/pool
new file mode 100644
index 000000000..80f6693e0
--- /dev/null
+++ b/plugins/php-fpm/templates/pool
@@ -0,0 +1,11 @@
+[{user}]
+user = {user}
+group = {group}
+
+listen = 127.0.0.1:{pool_port}
+
+pm = dynamic
+pm.max_children = 10
+pm.min_spare_servers = 1
+pm.max_spare_servers = 3
+pm.max_requests = 100