Initial commit
This commit is contained in:
commit
9d03496f02
5 changed files with 87 additions and 0 deletions
6
templates/php-fpm-pool.conf.j2
Normal file
6
templates/php-fpm-pool.conf.j2
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
[www-{{ tenant.name }}]
|
||||
{% set options = php_tenants_fpm_pool_defaults|combine(tenant.options.fpm_pool|d({}), {'user': 'www-'+tenant.name, 'group': 'www-'+tenant.name, 'listen': '/run/php/php'+php_version+'-fpm-'+tenant.name+'.sock', 'php_admin_value[syslog.ident]': 'php-fpm-'+tenant.name}, recursive=true) %}
|
||||
|
||||
{% for key, value in options.items() %}
|
||||
{{ key }} = {{ value }}
|
||||
{% endfor %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue