-
Notifications
You must be signed in to change notification settings - Fork 8
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
Force https for /admin #1
Comments
We should take a certificate for free from there: BUT, we should fix hearthbleed on our server cause no-one did any updates on it since a long time ! |
We now have a certificate. |
Django settings to prevent being logged over http: CSRF_COOKIE_HTTPONLY = True
CRSF_COOKIE_SECURE = True
SESSION_COOKIE_SECURE = True (I have all three on my sites, your mileage may vary.) Then I have an nginx config to redirect http to https with the HSTS header, I’m not sure what can be done on Heroku. |
The /admin site only works under http (https://mtlpy.org leads nowhere). Despite Heartbleed, it would be handy to not send our passwords out on cleartext. Do the following:
The text was updated successfully, but these errors were encountered: