diff --git a/bin/plugin-server b/bin/plugin-server index 825045ace03..c7b341ddd2e 100755 --- a/bin/plugin-server +++ b/bin/plugin-server @@ -27,7 +27,7 @@ if [[ -n $POSTHOG_DB_NAME ]]; then fi if [[ -z $REDIS_URL ]]; then - [[ -n $POSTHOG_REDIS_PASSWORD ]] && REDIS_PASSWORD_COMPONENT="$POSTHOG_REDIS_PASSWORD@" + [[ -n $POSTHOG_REDIS_PASSWORD ]] && REDIS_PASSWORD_COMPONENT=":$POSTHOG_REDIS_PASSWORD@" export REDIS_URL="redis://${REDIS_PASSWORD_COMPONENT}${POSTHOG_REDIS_HOST:-"localhost"}:${POSTHOG_REDIS_PORT:-"6379"}/" fi