home-server/roles/ssowat/templates/conf.json.j2

68 lines
2.0 KiB
Django/Jinja

{
"portal_scheme": "https",
"portal_domain": "{{net_soa}}",
"portal_path": "{{http_pfx_ssowat}}/",
"ldap_host": "{{SafeZone}}",
"ldap_group": "ou=Users,{{ldap_root}}",
"ldap_attributes": ["uid", "givenname", "sn", "cn", "mail"],
"ldap_enforce_crypt": false,
"skipped_urls": [
"/hosting/discovery",
"/loleaflet",
"/lool",
"{{http_pfx_movim}}/?infos"
],
"skipped_regex": [
"^/[_afhitxy.]",
"^/g[^i]",
"^/li",
"^/p[^b]"
],
"unprotected_urls": [
"{{http_pfx_dotclear}}",
"{{http_pfx_gitea}}",
"{{http_pfx_nextcloud}}",
"{{http_pfx_privatebin}}"
],
"protected_urls": [
"{{http_pfx_dotclear}}/admin",
"{{http_pfx_gitea}}/admin",
"{{http_pfx_gitea}}/repo/create",
"{{http_pfx_gitea}}/repo/migrate",
"{{http_pfx_gitea}}/org/create"
],
"protected_regex": [
"^{{http_pfx_gitea}}/.-/wiki/_new",
"^{{http_pfx_privatebin}}/?$"
],
"users": {
"*": {
"allow": {
"{{net_soa}}{{http_pfx_dotclear}}/admin/": "Blog",
"{{net_soa}}{{http_pfx_gitea}}/": "Git",
"{{net_soa}}{{http_pfx_lam}}/": "{{lam_sso_title}}",
"{{net_soa}}{{http_pfx_nextcloud}}/": "Cloud",
"{{net_soa}}{{http_pfx_privatebin}}/": "{{privatebin_sso_title}}"
}
},
"you": {
"allow": {
"{{net_soa}}{{http_pfx_motion}}/": "Surveillance",
"{{net_soa}}{{http_pfx_transmission}}": "BitTorrent"
}
},
"me": {
"allow": {
"{{net_soa}}{{http_pfx_motion}}/": "Surveillance",
"{{net_soa}}{{http_pfx_movim}}/": "Social",
"{{net_soa}}{{http_pfx_transmission}}": "BitTorrent",
"{{net_soa}}{{http_pfx_wallabag}}/": "Read later"
}
}
},
"logout": {
"dcxd": "https://{{net_soa}}{{http_pfx_dotclear}}/admin/index.php?logout=1"
},
"default_language": "{{locales_default | truncate(2, True, '', 0)}}"
}