From fbdf4f806599fa169ecb939fbcd049f1a694c8e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Mon, 3 Jun 2024 16:55:55 +0100 Subject: [PATCH] chore: Update server-stream.conf to include server name in vhost --- src/common/confs/server-stream/server-stream.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/confs/server-stream/server-stream.conf b/src/common/confs/server-stream/server-stream.conf index 84805a79e..25fefc011 100644 --- a/src/common/confs/server-stream/server-stream.conf +++ b/src/common/confs/server-stream/server-stream.conf @@ -1,4 +1,6 @@ server { + # server name (vhost) + server_name '{{ SERVER_NAME.split(" ")[0] }}'; # listen {% if LISTEN_STREAM == "yes" +%} @@ -18,7 +20,6 @@ server { set $reason ''; set $reason_data ''; set $ctx_ref ''; - set $server_name '{{ SERVER_NAME.split(" ")[0] }}'; # include config files include {{ NGINX_PREFIX }}server-stream/*.conf;