Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit 02c0dd4

Browse files
edmorleycyberdelia
authored andcommitted
Remove support for the Cedar-10 stack (#21)
Since it's no longer possible to build a cedar-10 app anyway: https://devcenter.heroku.com/changelog-items/755
1 parent ab3d389 commit 02c0dd4

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ Some settings are configurable through app config vars at runtime:
6464

6565
- ``STUNNEL_ENABLED``: Default to true, enable or disable stunnel.
6666
- ``STUNNEL_LOGLEVEL``: Default is `notice`, set to `info` or `debug` for more verbose log output.
67-
- ``STUNNEL_FORCE_TLS``: Default is unset. Set this var, to force TLSv1 on cedar-10.
6867

6968
### Multiple Redis Instances
7069

bin/stunnel-conf.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
URLS=${REDIS_STUNNEL_URLS:-REDIS_URL `compgen -v HEROKU_REDIS`}
33
n=1
44

5-
# Enable this option to prevent stunnel from using SSLv3 with cedar-10
6-
if [ -z "${STUNNEL_FORCE_TLS}" ]; then
7-
STUNNEL_FORCE_SSL_VERSION=""
8-
else
9-
STUNNEL_FORCE_SSL_VERSION="sslVersion = TLSv1"
10-
fi
11-
125
mkdir -p /app/vendor/stunnel/var/run/stunnel/
136

147
cat >> /app/vendor/stunnel/stunnel.conf << EOFEOF
@@ -22,7 +15,6 @@ options = SINGLE_DH_USE
2215
socket = r:TCP_NODELAY=1
2316
options = NO_SSLv3
2417
TIMEOUTidle = 86400
25-
${STUNNEL_FORCE_SSL_VERSION}
2618
ciphers = HIGH:!ADH:!AECDH:!LOW:!EXP:!MD5:!3DES:!SRP:!PSK:@STRENGTH
2719
debug = ${STUNNEL_LOGLEVEL:-notice}
2820
EOFEOF

0 commit comments

Comments
 (0)