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
|
||||
notify: nginx | Restart Nginx
|
||||
copy:
|
||||
src: 'files/nginx.conf'
|
||||
template:
|
||||
src: 'templates/nginx.conf'
|
||||
dest: '{{ nginx__dir_etc }}/nginx.conf'
|
||||
mode: 'u=rw,go=r'
|
||||
owner: root
|
||||
|
|
|
@ -7,10 +7,12 @@ events {
|
|||
worker_connections 768;
|
||||
# multi_accept on;
|
||||
}
|
||||
{% if nginx__stream %}
|
||||
|
||||
stream {
|
||||
include /etc/nginx/stream.conf;
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
http {
|
||||
##
|
Loading…
Reference in a new issue