Merge branch 'master' of ssh://git-ssh.notandy.de:2222/ansible/roles/nginx
This commit is contained in:
commit
e6a42e31a4
6 changed files with 53 additions and 1 deletions
|
|
@ -22,6 +22,7 @@
|
|||
pkg:
|
||||
- nginx
|
||||
- libnginx-mod-http-headers-more-filter
|
||||
- libnginx-mod-stream
|
||||
- goaccess
|
||||
notify:
|
||||
- delete nginx index.nginx-debian.html
|
||||
|
|
@ -83,6 +84,17 @@
|
|||
notify:
|
||||
- restart nginx
|
||||
|
||||
- name: create and enable nginx streams
|
||||
template:
|
||||
src: stream.conf.j2
|
||||
dest: "/etc/nginx/streams/{{ item.key }}"
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
with_dict: "{{ {}|combine(nginx.streams, recursive=True) }}"
|
||||
notify:
|
||||
- restart nginx
|
||||
|
||||
- name: delete nginx default config
|
||||
file: path=/etc/nginx/sites-enabled/default state=absent
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue