mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-08 19:00:18 +01:00
Updated to www-php user for php-fpm, nginx web root.
This commit is contained in:
parent
bbf6f2faa8
commit
b333a90cd6
3 changed files with 5 additions and 4 deletions
|
@ -59,8 +59,8 @@ php_enablerepo: "remi-php70"
|
|||
|
||||
# PHP-FPM configuration.
|
||||
php_enable_php_fpm: true
|
||||
php_fpm_pool_user: vmuser
|
||||
php_fpm_pool_group: nginx
|
||||
php_fpm_pool_user: www-php
|
||||
php_fpm_pool_group: www-php
|
||||
|
||||
php_apc_shm_size: "128M"
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
[www]
|
||||
listen = 127.0.0.1:9000
|
||||
listen.allowed_clients = 127.0.0.1
|
||||
user = {{ php_fpm_pool_user }}
|
||||
group = {{ php_fpm_pool_group }}
|
||||
user = www-php
|
||||
group = www-php
|
||||
|
||||
pm = dynamic
|
||||
pm.max_children = 50
|
||||
|
|
|
@ -13,3 +13,4 @@
|
|||
|
||||
- name: Creates vmuser user
|
||||
user: name=vmuser comment=DefaultUser groups=vmuser,wheel password={{ default_user_password }} shell=/bin/bash createhome=yes
|
||||
user: name=www-php comment=DefaultPHPUser groups=www-php shell=/sbin/nologin createhome=no
|
||||
|
|
Loading…
Reference in a new issue