* use appropriate php version both for php and apache installations
+ pma for apache with auth and hand made change granted permissions + wp-cli + www-domain alias for apache and revers redirect for that
This commit is contained in:
8
vars/apache-example.yml
Normal file
8
vars/apache-example.yml
Normal file
@ -0,0 +1,8 @@
|
||||
apache__dependent_vhosts:
|
||||
- name: 'pma.{{ apache__default_vhost_name[0] }}'
|
||||
filename: 'pma'
|
||||
root: '/var/www/phpmyadmin'
|
||||
root_directives: |-
|
||||
AuthType Basic
|
||||
AuthName "Authorization"
|
||||
AuthUserFile passwords.d/pma.passwords
|
@ -1,2 +1,2 @@
|
||||
nginx_www_domain: True
|
||||
nginx_www_redirect: www
|
||||
nginx_www_domain: {{ has_www_domain }}
|
||||
nginx_www_redirect: {{ www_domain_is_primary | ternary('www', 'non-www') }}
|
||||
|
2
vars/site-example.yml
Normal file
2
vars/site-example.yml
Normal file
@ -0,0 +1,2 @@
|
||||
has_www_domain: True
|
||||
www_domain_is_primary: False
|
Reference in New Issue
Block a user