Send Host/X-Forwarded-For to mxisd

It worked without it too, but doing this is more consistent with the
mxisd recommendations.
This commit is contained in:
Slavi Pantaleev
2019-01-17 16:21:04 +02:00
parent cb11548eec
commit ba75ab496d
3 changed files with 8 additions and 2 deletions

View File

@ -119,7 +119,7 @@ matrix_mxisd_synapsesql_type: postgresql
matrix_mxisd_synapsesql_connection: //{{ matrix_synapse_database_host }}/{{ matrix_synapse_database_database }}?user={{ matrix_synapse_database_user }}&password={{ matrix_synapse_database_password }}
matrix_mxisd_dns_overwrite_enabled: true
matrix_mxisd_dns_overwrite_homeserver_client_name: "matrix-mxisd"
matrix_mxisd_dns_overwrite_homeserver_client_name: "{{ hostname_matrix }}"
matrix_mxisd_dns_overwrite_homeserver_client_value: "http://{{ 'matrix-corporal:41080' if matrix_corporal_enabled else 'matrix-synapse:8008' }}"
# By default, we send mail through the `matrix-mailer` service.