From c5ddc0f6e851cc1caf99c45d665d1f2f2627029e Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Wed, 6 Jan 2021 02:48:38 -0700 Subject: [PATCH] fix(SCRIPT): prevent erroneous error message - port update should target secure block file regardless if disabled --- build/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/entrypoint.sh b/build/entrypoint.sh index 85ca1c1..97352b8 100755 --- a/build/entrypoint.sh +++ b/build/entrypoint.sh @@ -38,7 +38,7 @@ fi # update HTTPS redirect port if SSL server test block exists if [ -f "/etc/nginx/sites/note" ]; then printf "Updating port redirects... " - sed -i -e "s%%${HTTPS_PORT}%" /etc/nginx/sites/05-test_secured.conf.disabled + sed -i -e "s%%${HTTPS_PORT}%" /etc/nginx/sites/05-test_secured.* printf "done\n" fi