Update to 2022-03-07 16:00

This commit is contained in:
Daniel Berteaud
2022-03-07 16:00:05 +01:00
parent be6bc20783
commit 1065df387c
99 changed files with 761 additions and 303 deletions

View File

@@ -0,0 +1,30 @@
{
"default_hs_url": "{{ riot_default_home_server | default('https://' + synapse_server_name) | default('https://matrix.org') }}",
"default_is_url": "{{ riot_default_identity_server }}",
"brand": "Riot",
"integrations_ui_url": "https://scalar.vector.im/",
"integrations_rest_url": "https://scalar.vector.im/api",
"integrations_widgets_urls": [
"https://scalar.vector.im/_matrix/integrations/v1",
"https://scalar.vector.im/api",
"https://scalar-staging.vector.im/_matrix/integrations/v1",
"https://scalar-staging.vector.im/api",
"https://scalar-staging.riot.im/scalar/api"
],
"bug_report_endpoint_url": "https://riot.im/bugreports/submit",
"enableLabs": true,
"roomDirectory": {
"servers": [
"matrix.org"
]
},
"welcomeUserId": "@riot-bot:matrix.org",
"piwik": {
},
{% if riot_jitsi_server is defined %}
"jitsi": {
"preferredDomain": "{{ riot_jitsi_server }}"
},
{% endif %}
"happyJson": true
}

View File

@@ -0,0 +1,14 @@
{% if riot_web_alias is defined %}
Alias /{{ riot_web_alias }} {{ riot_root_dir }}/web
{% else %}
# No alias defined, create a vhost to access it
{% endif %}
<Directory {{ riot_root_dir }}/web>
AllowOverride None
Options None
{% if riot_allowed_ip is defined %}
Require ip {{ riot_allowed_ip | join(' ') }}
{% else %}
Require all granted
{% endif %}
</Directory>

View File

@@ -0,0 +1,5 @@
#!/bin/sh
chown -R root:root {{ riot_root_dir }}
find {{ riot_root_dir }}/web -type f -exec chmod 644 "{}" \;
find {{ riot_root_dir }}/web -type d -exec chmod 755 "{}" \;