Guest User

Untitled

a guest
Jun 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. SECURE_SSL_REDIRECT = True
  2. SESSION_COOKIE_SECURE = True
  3. CSRF_COOKIE_SECURE = True
  4. SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
  5.  
  6. PREPEND_WWW = True
  7. BASE_URL = "https://www.mysite.de"
  8. ALLOWED_HOSTS = ['www.mysite.de', 'mysite.de']
  9.  
  10. SESSION_COOKIE_SECURE = True
  11. CSRF_COOKIE_SECURE = True
  12. SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
  13. SECURE_SSL_REDIRECT = True
  14. PREPEND_WWW = True
Add Comment
Please, Sign In to add comment