X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=blobdiff_plain;f=templates%2Fphp_gestion_conf.j2;fp=templates%2Fphp_gestion_conf.j2;h=5abb624f7b5da36efbee131e5991fb2cb134be50;hb=5f7ed8e1233e5b2bb33ac343113d3fa5bfe77ec3;hp=0000000000000000000000000000000000000000;hpb=0e7e1f059f943f6617400cc32d155d73b4b4b9a3;p=lhc%2Fansible.git
diff --git a/templates/php_gestion_conf.j2 b/templates/php_gestion_conf.j2
new file mode 100644
index 0000000..5abb624
--- /dev/null
+++ b/templates/php_gestion_conf.j2
@@ -0,0 +1,15 @@
+[{{Â TLD}}/{{ DOMAIN}}/{{ SITE}}]
+user = php_{{ SIGLE }}_{{ SITE }}
+group = php_{{ SIGLE }}_{{ SITE }}
+
+listen = /run/php{{ php_version }}/fpm/php_{{ SIGLE }}_{{ SITE }}
+
+listen.group = www-data
+
+pm = dynamic
+pm.max_children = 5
+pm.start_servers = 2
+pm.min_spare_servers = 1
+pm.max_spare_servers = 3
+
+access.log = /home/sites/log/php/fpm/{{Â TLD}}/{{ DOMAIN}}/{{ SITE}}/access.log
\ No newline at end of file