From d4f303c64b8892d8715f4be19c9175153d0c10f5 Mon Sep 17 00:00:00 2001 From: Evilham Date: Sun, 23 May 2021 11:44:34 +0200 Subject: [PATCH] [__jitsi_meet*] Relocate hash_bucket_size nginx directive This was causing issues in multi-domain scenarios where it'd get duplicated. Fixes #8 --- type/__jitsi_meet/manifest | 2 ++ type/__jitsi_meet_domain/files/nginx.sh | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/type/__jitsi_meet/manifest b/type/__jitsi_meet/manifest index 50e61c3..26d7528 100755 --- a/type/__jitsi_meet/manifest +++ b/type/__jitsi_meet/manifest @@ -118,6 +118,8 @@ require="__directory${NGINX_ETC}/sites-available" __file "${NGINX_ETC}/sites-ava --source - << EOF # This file is managed remotely, all changes will be lost +server_names_hash_bucket_size 64; + # nginx server configuration for: server { diff --git a/type/__jitsi_meet_domain/files/nginx.sh b/type/__jitsi_meet_domain/files/nginx.sh index bb300fd..e2c72f8 100644 --- a/type/__jitsi_meet_domain/files/nginx.sh +++ b/type/__jitsi_meet_domain/files/nginx.sh @@ -2,8 +2,6 @@ # shellcheck disable=SC2034 # This is intended to be included JITSI_NGINX_CONFIG="$(cat <