Development #4666
Mis à jour par Jérôme Schneider il y a environ 10 ans
L'idée serait de supprimer la variable hosts de la configuration générique pour avoir un fichier de conf par vhost un peu comme apache ou nginx.
voici un premier brouillon d'exemple de fichiers de configuration qui irait dans /etc/mandaye/sites-enable :
<pre>
{
'port': 80,
'server_name': ['toto.example.fr', 'toto.example.com'],
'location': r'/',
'target': 'https://www.linuxfr.org',
'sp_conf': 'linuxfr',
'auth_type': 'saml2', 'saml2'
'saml2_idp_metadata': 'https://sso.entrouvert.org/idp/saml2/metadata',
'saml2_signature_public_key': '/etc/mandaye/certs/saml2.crt',
'saml2_signature_private_key': '/etc/mandaye/certs/saml2.key',
}
</pre>
voici un premier brouillon d'exemple de fichiers de configuration qui irait dans /etc/mandaye/sites-enable :
<pre>
{
'port': 80,
'server_name': ['toto.example.fr', 'toto.example.com'],
'location': r'/',
'target': 'https://www.linuxfr.org',
'sp_conf': 'linuxfr',
'auth_type': 'saml2', 'saml2'
'saml2_idp_metadata': 'https://sso.entrouvert.org/idp/saml2/metadata',
'saml2_signature_public_key': '/etc/mandaye/certs/saml2.crt',
'saml2_signature_private_key': '/etc/mandaye/certs/saml2.key',
}
</pre>