mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-06 18:57:37 +01:00
3228cfd229
This adds into the Riot config.json the field 'default_server_config.m.homeserver.server_name' with, by default, the value of the playbook's 'matrix_domain' variable. Riot displays this string in its login page and will now say 'Sign in to your Matrix account on example.org' (the server name) instead of 'Sign in ... on matrix.example.org' (the server domain-name). This string can be configured by setting the playbook variable 'matrix_riot_web_default_server_name' to any string, so we can make Riot say for example 'Sign in ... on Our Server'.
31 lines
1.3 KiB
Django/Jinja
31 lines
1.3 KiB
Django/Jinja
{
|
|
"default_server_config": {
|
|
"m.homeserver": {
|
|
"base_url": {{ matrix_riot_web_default_hs_url|string|to_json }},
|
|
"server_name": {{ matrix_riot_web_default_server_name|string|to_json }}
|
|
},
|
|
"m.identity_server": {
|
|
"base_url": {{ matrix_riot_web_default_is_url|string|to_json }}
|
|
}
|
|
},
|
|
"disable_custom_urls": {{ matrix_riot_web_disable_custom_urls|to_json }},
|
|
"disable_guests": {{ matrix_riot_web_disable_guests|to_json }},
|
|
"brand": {{ matrix_riot_web_brand|to_json }},
|
|
"integrations_ui_url": {{ matrix_riot_web_integrations_ui_url|string|to_json }},
|
|
"integrations_rest_url": {{ matrix_riot_web_integrations_rest_url|string|to_json }},
|
|
"integrations_widgets_urls": {{ matrix_riot_web_integrations_widgets_urls|to_json }},
|
|
"integrations_jitsi_widget_url": {{ matrix_riot_web_integrations_jitsi_widget_url|string|to_json }},
|
|
"bug_report_endpoint_url": "https://riot.im/bugreports/submit",
|
|
"enableLabs": true,
|
|
"roomDirectory": {
|
|
"servers": {{ matrix_riot_web_roomdir_servers|to_json }}
|
|
},
|
|
"welcomeUserId": {{ matrix_riot_web_welcome_user_id|to_json }},
|
|
{% if matrix_riot_web_enable_presence_by_hs_url is not none %}
|
|
"enable_presence_by_hs_url": {{ matrix_riot_web_enable_presence_by_hs_url|to_json }},
|
|
{% endif %}
|
|
"embeddedPages": {
|
|
"homeUrl": {{ matrix_riot_web_embedded_pages_home_url|string|to_json }}
|
|
}
|
|
}
|