From 787a68c15cec587e6004e69e63ffdb2a5cd520f1 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Sat, 12 Aug 2023 21:26:52 +0400 Subject: [PATCH] Improve streams --- templates/nginx.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/nginx.conf b/templates/nginx.conf index f686fc0..86f098e 100644 --- a/templates/nginx.conf +++ b/templates/nginx.conf @@ -7,11 +7,15 @@ events { worker_connections 768; # multi_accept on; } -{% if nginx__stream %} +{% if nginx__stream %} stream { include /etc/nginx/stream.conf; } +{% else %} +#stream { +# include /etc/nginx/stream.conf; +#} {% endif %} http {