add support for generic streams

This commit is contained in:
nd 2021-09-04 22:44:41 +02:00
parent 4d82b39ef9
commit 41841311e6
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
4 changed files with 48 additions and 0 deletions

View file

@ -3,6 +3,7 @@ worker_processes auto;
pid /run/nginx.pid;
load_module /usr/lib/nginx/modules/ngx_http_headers_more_filter_module.so;
load_module /usr/lib/nginx/modules/ngx_stream_module.so;
events {
use epoll;
@ -36,3 +37,8 @@ http {
##
include /etc/nginx/sites-enabled/*;
}
stream {
include /etc/nginx/conf.d/upstreams.conf;
include /etc/nginx/streams/*;
}