Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL support? #67

Open
fedorukol opened this issue May 6, 2021 · 1 comment
Open

SSL support? #67

fedorukol opened this issue May 6, 2021 · 1 comment

Comments

@fedorukol
Copy link

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.

@taylor-cedar
Copy link

taylor-cedar commented Aug 31, 2021

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}"
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants