Open tomtaylor opened 3 years ago
We use the REDIS_URL env var on Heroku to define our Redis URL. When SSL is enabled this is indicated by the rediss scheme in the URL.
REDIS_URL
rediss
As it stands, phoenix_pubsub_redis ignores this, and forces us to set ssl: true to use SSL for the connection.
phoenix_pubsub_redis
ssl: true
This change allows the URL scheme to define whether SSL is enabled, removing the need to keep the :ssl setting inline with the URL scheme.
:ssl
@chrismccord any thoughts on this?
we are also experiencing this issue.
We use the
REDIS_URL
env var on Heroku to define our Redis URL. When SSL is enabled this is indicated by therediss
scheme in the URL.As it stands,
phoenix_pubsub_redis
ignores this, and forces us to setssl: true
to use SSL for the connection.This change allows the URL scheme to define whether SSL is enabled, removing the need to keep the
:ssl
setting inline with the URL scheme.