fix(SCRIPT): prevent erroneous error message

- port update should target secure block file regardless if disabled
This commit is contained in:
Asif Bacchus 2021-01-06 02:48:38 -07:00
parent e5b2f68fd4
commit c5ddc0f6e8
1 changed files with 1 additions and 1 deletions

View File

@ -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>%${HTTPS_PORT}%" /etc/nginx/sites/05-test_secured.conf.disabled
sed -i -e "s%<HTTPS_PORT>%${HTTPS_PORT}%" /etc/nginx/sites/05-test_secured.*
printf "done\n"
fi