Skip to content

Commit

Permalink
Allow $ARGS in $REVERSE_PROXY .env (Ylianst#5628)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oakington authored Dec 13, 2023
1 parent 6e4c8b0 commit 91c83e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 91c83e2

Please sign in to comment.