From daaa93b40ddad772e8f324932e07bd1d22ac86f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=B9=BF?= Date: Thu, 21 Nov 2024 23:29:36 +0800 Subject: [PATCH] perf: facelive enable --- includes/{facelive.conf => facelive.conf.disabled} | 0 init.sh | 5 +++++ 2 files changed, 5 insertions(+) rename includes/{facelive.conf => facelive.conf.disabled} (100%) diff --git a/includes/facelive.conf b/includes/facelive.conf.disabled similarity index 100% rename from includes/facelive.conf rename to includes/facelive.conf.disabled diff --git a/init.sh b/init.sh index 5b79b4b..8f8a14a 100755 --- a/init.sh +++ b/init.sh @@ -141,6 +141,11 @@ function config_components() { if [[ "${USE_XPACK}" == "1" && "${RAZOR_ENABLED}" != "0" ]]; then safe_move /etc/nginx/includes/razor.conf.disabled /etc/nginx/includes/razor.conf fi + + if [[ "${USE_XPACK}" == "1" && "${FACELIVE_ENABLED}" == "1" ]]; then + safe_move /etc/nginx/includes/facelive.conf.disabled /etc/nginx/includes/facelive.conf + fi + } function copy_versions_to_core() {