Dynamic module management (closes #23)

This commit is contained in:
Emilien Mantel
2016-10-12 18:13:59 +02:00
parent ef3440a015
commit 42bb4a3e2b
7 changed files with 41 additions and 1 deletions

View File

@@ -19,6 +19,7 @@
nginx_backports: true
nginx_php56: true
nginx_php70: true
nginx_dyn_modules: ['http_geoip']
nginx_upstreams:
- name: 'test'
servers:
@@ -106,6 +107,13 @@
-----END CERTIFICATE-----
nginx_custom_http:
- 'add_header X-ansible 1;'
- 'geoip_country /usr/share/GeoIP/GeoIP.dat;'
- 'map $geoip_country_code $allowed_country {'
- ' default yes;'
- ' MA no;'
- ' DZ no;'
- ' TN no;'
- '}'
nginx_default_vhost: 'first-test'
nginx_default_vhost_ssl: 'test-ssl-predeployed.local'
nginx_vhosts: