Fix ALLOWED_HOSTS and SECURE_PROXY_SSL_HEADER in authentic2 configuration
This commit is contained in:
parent
f0209f428c
commit
53b900e97c
|
@ -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')
|
||||
|
|
Reference in New Issue