Johannes Rothe 649e48930e
Add ansible roles and playbook to setup LEMP stack
Ansible roles added:
 * nginx
 * php
 * mysql
 * wordpress

Additionally adds a Vagrantfile to setup two machines using the new
playbook for testing.
2023-08-17 20:54:40 +02:00

16 lines
363 B
Django/Jinja

[wordpress]
listen = /var/run/php/wordpress.sock
listen.owner = www-data
listen.group = www-data
listen.mode = 0660
user = wordpress
group = wordpress
pm = dynamic
pm.max_children = 10
pm.start_servers = 1
pm.min_spare_servers = 1
pm.max_spare_servers = 3
pm.max_requests = 500
chdir = {{ wordpress.dir }}
php_admin_value[open_basedir] = {{ wordpress.dir }}:/tmp