|
|
|
@@ -18,6 +18,10 @@ |
|
|
|
|
|
|
|
matrix_identity_server_url: "{{ ('https://' + matrix_server_fqn_matrix) if matrix_ma1sd_enabled else None }}" |
|
|
|
|
|
|
|
# If Synapse workers are enabled and matrix-nginx-proxy is disabled, certain APIs may not work over 'http://matrix-synapse:8008'. |
|
|
|
# This is because we explicitly disable them for the main Synapse process. |
|
|
|
matrix_homeserver_container_url: "{{ 'http://matrix-nginx-proxy:12080' if matrix_nginx_proxy_enabled else 'http://matrix-synapse:8008' }}" |
|
|
|
|
|
|
|
###################################################################### |
|
|
|
# |
|
|
|
# /matrix-base |
|
|
|
@@ -283,7 +287,7 @@ matrix_mautrix_signal_systemd_required_services_list: | |
|
|
|
|
|
|
|
matrix_mautrix_signal_homeserver_domain: '{{ matrix_domain }}' |
|
|
|
|
|
|
|
matrix_mautrix_signal_homeserver_address: "{{ 'http://matrix-synapse:8008' if matrix_synapse_enabled else '' }}" |
|
|
|
matrix_mautrix_signal_homeserver_address: "{{ matrix_homeserver_container_url }}" |
|
|
|
|
|
|
|
matrix_mautrix_signal_homeserver_token: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'si.hs.token') | to_uuid }}" |
|
|
|
|
|
|
|
@@ -674,7 +678,7 @@ matrix_corporal_systemd_required_services_list: | |
|
|
|
}} |
|
|
|
|
|
|
|
# This goes to Synapse's vhost |
|
|
|
matrix_corporal_matrix_homeserver_api_endpoint: "http://matrix-nginx-proxy:12080" |
|
|
|
matrix_corporal_matrix_homeserver_api_endpoint: "{{ matrix_homeserver_container_url }}" |
|
|
|
|
|
|
|
matrix_corporal_matrix_auth_shared_secret: "{{ matrix_synapse_ext_password_provider_shared_secret_auth_shared_secret }}" |
|
|
|
|
|
|
|
@@ -1388,7 +1392,7 @@ matrix_registration_riot_instance: "{{ ('https://' + matrix_server_fqn_element) |
|
|
|
|
|
|
|
matrix_registration_shared_secret: "{{ matrix_synapse_registration_shared_secret if matrix_synapse_enabled else '' }}" |
|
|
|
|
|
|
|
matrix_registration_server_location: "{{ 'http://matrix-synapse:8008' if matrix_synapse_enabled else '' }}" |
|
|
|
matrix_registration_server_location: "{{ matrix_homeserver_container_url }}" |
|
|
|
|
|
|
|
matrix_registration_api_validate_certs: "{{ false if matrix_ssl_retrieval_method == 'self-signed' else true }}" |
|
|
|
|
|
|
|
|