Improve streams

This commit is contained in:
Alex Kotov 2023-08-12 21:26:52 +04:00
parent 5b60deaef5
commit 787a68c15c
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

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