django-redis-sessions icon indicating copy to clipboard operation
django-redis-sessions copied to clipboard

SSL support?

Open fedorukol opened this issue 3 years ago • 1 comments

Hi, we are using django-redis-sessions in our project and it works fine but we want to secure redis-django connection.

Is this possible in some way?

Thanks.

fedorukol avatar May 06 '21 22:05 fedorukol

This is supported. You need to use the URL though.

SESSION_REDIS = dict(
    url=f"rediss://:{REDIS_SESSION_PASSWORD}@{REDIS_SESSION_HOST}:{REDIS_SESSION_PORT}/{REDIS_SESSION_DB}"
)

taylor-cedar avatar Aug 31 '21 17:08 taylor-cedar