From 6cbe891210e28592a70c507930a38451513ae777 Mon Sep 17 00:00:00 2001 From: Pavel Dmitriev Date: Mon, 28 Nov 2022 23:36:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'rootfs/etc/nginx/nginx.conf'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rootfs/etc/nginx/nginx.conf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/rootfs/etc/nginx/nginx.conf b/rootfs/etc/nginx/nginx.conf index 07d8536..5eb10fc 100644 --- a/rootfs/etc/nginx/nginx.conf +++ b/rootfs/etc/nginx/nginx.conf @@ -1,3 +1,7 @@ +load_module /usr/lib/nginx/modules/ngx_stream_module.so; +load_module /usr/lib/nginx/modules/ngx_stream_geoip2_module.so; +load_module /usr/lib/nginx/modules/ngx_http_geoip2_module.so; + worker_processes 4; daemon off; @@ -13,7 +17,12 @@ events { include upstreams/*; include maps/*; -include ldap/*; +include conf/conf.d/*.conf; + +stream { + include conf/stream/*.conf; +} + http { server_names_hash_max_size 2048; log_format post '$remote_addr - $remote_user [$time_local] '