Fix streams

This commit is contained in:
Alex Kotov 2023-08-12 21:18:43 +04:00
parent 9990663e3a
commit 5b60deaef5
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -7,10 +7,12 @@ events {
worker_connections 768;
# multi_accept on;
}
{% if nginx__stream %}
stream {
include /etc/nginx/stream.conf;
}
{% endif %}
http {
##