Improve streams
This commit is contained in:
parent
5b60deaef5
commit
787a68c15c
1 changed files with 5 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue