From 91c83e2622d25dea05832e7648c99d290a80ae4c Mon Sep 17 00:00:00 2001 From: Oakington <31699883+Oakington@users.noreply.github.com> Date: Wed, 13 Dec 2023 18:35:16 -0500 Subject: [PATCH] Allow $ARGS in $REVERSE_PROXY .env (#5628) --- docker/startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/startup.sh b/docker/startup.sh index a0727193..c198d847 100644 --- a/docker/startup.sh +++ b/docker/startup.sh @@ -27,7 +27,7 @@ else sed -i "s/\"_sessionKey\": \"MyReallySecretPassword1\"/\"sessionKey\": \"$SESSION_KEY\"/" meshcentral-data/"${CONFIG_FILE}" if [ "$REVERSE_PROXY" != "false" ]; then sed -i "s/\"_certUrl\": \"my\.reverse\.proxy\"/\"certUrl\": \"https:\/\/$REVERSE_PROXY:$REVERSE_PROXY_TLS_PORT\"/" meshcentral-data/"${CONFIG_FILE}" - node meshcentral/meshcentral --configfile "${CONFIG_FILE}" + node meshcentral/meshcentral --configfile "${CONFIG_FILE}" ${ARGS} exit fi node meshcentral/meshcentral --configfile "${CONFIG_FILE}" --cert "$HOSTNAME" ${ARGS}