Fix streams
This commit is contained in:
parent
9990663e3a
commit
5b60deaef5
2 changed files with 4 additions and 2 deletions
|
@ -32,8 +32,8 @@
|
||||||
|
|
||||||
- name: Install Nginx config
|
- name: Install Nginx config
|
||||||
notify: nginx | Restart Nginx
|
notify: nginx | Restart Nginx
|
||||||
copy:
|
template:
|
||||||
src: 'files/nginx.conf'
|
src: 'templates/nginx.conf'
|
||||||
dest: '{{ nginx__dir_etc }}/nginx.conf'
|
dest: '{{ nginx__dir_etc }}/nginx.conf'
|
||||||
mode: 'u=rw,go=r'
|
mode: 'u=rw,go=r'
|
||||||
owner: root
|
owner: root
|
||||||
|
|
|
@ -7,10 +7,12 @@ events {
|
||||||
worker_connections 768;
|
worker_connections 768;
|
||||||
# multi_accept on;
|
# multi_accept on;
|
||||||
}
|
}
|
||||||
|
{% if nginx__stream %}
|
||||||
|
|
||||||
stream {
|
stream {
|
||||||
include /etc/nginx/stream.conf;
|
include /etc/nginx/stream.conf;
|
||||||
}
|
}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
##
|
##
|
Loading…
Reference in a new issue