force django to use ssl

This commit is contained in:
Andreas Zweili 2017-12-30 17:59:56 +01:00
parent ee7232cd50
commit bf1533bcd7
1 changed files with 3 additions and 0 deletions

View File

@ -135,3 +135,6 @@ STATIC_ROOT = '/vagrant/django/didgeridoo/static/'
MEDIA_ROOT = '/vagrant/django/didgeridoo/media/'
LOGIN_REDIRECT_URL = '/'
CSRF_COOKIE_SECURE = True
SESSION_COOKIE_SECURE = True