diff --git a/docker/rootfs/etc/nginx/nginx.conf b/docker/rootfs/etc/nginx/nginx.conf index 4d5ee901..995af00c 100644 --- a/docker/rootfs/etc/nginx/nginx.conf +++ b/docker/rootfs/etc/nginx/nginx.conf @@ -15,7 +15,7 @@ error_log /data/logs/fallback_error.log warn; include /etc/nginx/modules/*.conf; events { - worker_connections 1024; + include /data/nginx/custom/events[.]conf; } http { diff --git a/docs/advanced-config/README.md b/docs/advanced-config/README.md index 78b9654d..dd48647e 100644 --- a/docs/advanced-config/README.md +++ b/docs/advanced-config/README.md @@ -151,6 +151,7 @@ You can add your custom configuration snippet files at `/data/nginx/custom` as f - `/data/nginx/custom/root.conf`: Included at the very end of nginx.conf - `/data/nginx/custom/http_top.conf`: Included at the top of the main http block - `/data/nginx/custom/http.conf`: Included at the end of the main http block + - `/data/nginx/custom/events.conf`: Included at the end of the events block - `/data/nginx/custom/stream.conf`: Included at the end of the main stream block - `/data/nginx/custom/server_proxy.conf`: Included at the end of every proxy server block - `/data/nginx/custom/server_redirect.conf`: Included at the end of every redirection server block