diff --git a/config/authentic2/config.py b/config/authentic2/config.py index 96fe95d..6b4ed1e 100644 --- a/config/authentic2/config.py +++ b/config/authentic2/config.py @@ -8,7 +8,7 @@ CACHE_BACKEND={ 'LOCATION': '127.0.0.1:11211' } USE_X_FORWARDED_HOST=True -ALLOWED_HOSTS='idptest.amue.fr:idp.amue.fr' +ALLOWED_HOSTS=['idptest.amue.fr', 'idp.amue.fr'] LDAP_AUTH_SETTINGS=[ { "url": "ldap://194.167.237.11", @@ -38,3 +38,4 @@ LDAP_AUTH_SETTINGS=[ ] } ] +SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTOCOL', 'https')