Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 72579f5

Browse files
committedMay 17, 2023
URI not full url
1 parent d81f563 commit 72579f5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎bin/stunnel-conf.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,14 @@ REDIS_URL=${REDIS_URL}@127.0.0.1:6371
2020

2121
export REDIS_URL=$REDIS_URL
2222

23+
STUNNEL_URI=${HEROKU_REDIS_BLUE_URL#*@}
24+
export STUNNEL_URI=${STUNNEL_URI}
25+
2326
cat >> /app/vendor/stunnel/stunnel.conf << EOFEOF
2427
[REDIS_URL]
2528
client = yes
2629
accept = 127.0.0.1:6371
27-
connect = ${HEROKU_REDIS_BLUE_URL}
30+
connect = ${STUNNEL_URI}
2831
retry = ${STUNNEL_CONNECTION_RETRY:-"no"}
2932
EOFEOF
3033

0 commit comments

Comments
 (0)
This repository has been archived.