Browse Source

add SECURE_PROXY_SSL_HEADER in settings

pull/342/head
Guillaume Vincent 8 years ago
parent
commit
05c302d291
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      lesspass/settings.py

+ 2
- 0
lesspass/settings.py View File

@@ -175,3 +175,5 @@ DJOSER = {
'PASSWORD_RESET_CONFIRM_URL': '#/password/reset/confirm/{uid}/{token}',
'ACTIVATION_URL': '#/activate/{uid}/{token}'
}

SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')

Loading…
Cancel
Save