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

@ -40,7 +40,7 @@ matrix_mxisd_threepid_medium_email_connectors_smtp_password: ""
# Useful when reverse-proxying certain URLs (e.g. `/_matrix/client/r0/user_directory/search`) to mxisd,
# so that mxisd can rewrite the original URL to one that would reach the homeserver.
matrix_mxisd_dns_overwrite_enabled: false
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-synapse:8008"
# Default mxisd configuration template which covers the generic use case.