First shot proxy (unstable)

This commit is contained in:
Emilien Mantel committed 2015-10-08 18:21:40 +02:00
1 parent a9a898e910
commit 96bbc47d27
8 files changed
+84 -1

No files matched your search

+4
View File
@@ -4,3 +4,7 @@
template: src=etc/nginx/upstream/php.conf.j2 dest=/etc/nginx/conf.d/php.conf
notify: reload nginx
- name: TEMPLATE | Deploy other upstreams
template: src=etc/nginx/upstream/upstream.conf.j2 dest=/etc/nginx/conf.d/upstream-{{ item.name }}.conf
with_items: nginx_upstreams
notify: reload nginx
+1 -1
View File
@@ -8,7 +8,7 @@
group={{ item.group | default('www-data') }}
mode={{ item.mode | default('0755') }}
with_items: nginx_vhosts
when: item.root is not defined
when: item.root is not defined and item.template != '_proxy'
- name: TEMPLATE | Create vhosts
template: >