From 0cd9b65ad1392c3a9a76a1c97dcafbe4f18e56b2 Mon Sep 17 00:00:00 2001 From: Hizkia Felix Winata Date: Sat, 29 Jan 2022 21:51:17 +0800 Subject: [PATCH] feat(nginx): bump worker_connection --- scripts/nginx/restream.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/nginx/restream.conf b/scripts/nginx/restream.conf index 78866af..f476880 100644 --- a/scripts/nginx/restream.conf +++ b/scripts/nginx/restream.conf @@ -1,7 +1,12 @@ # Sample configuration for HLS stream cache server +# Ref: https://docs.peer5.com/guides/use-nginx-as-wowza-cache/ worker_processes auto; -events { worker_connections 128; } +events { + worker_connections 16384; + multi_accept on; + use epoll; +} error_log /dev/stderr;