Alias Matrix vhost to server name

Turns out Matrix actually sends the delegated host in the Host: field, which is probably why this fails
Interdasting
https://matrix.org/docs/spec/server_server/latest#resolving-server-names
This commit is contained in:
Salt 2020-06-26 11:24:57 -05:00
parent 7f1653d881
commit 5624967fd9

View File

@ -19,6 +19,7 @@ SSLProxyEngine on
SSLProtocol {{ ssl_protocol }}
SSLCipherSuite {{ ssl_cipher_suite }}
ServerName {{ matrix_url }}
ServerAlias {{ matrix_server_name }}
DocumentRoot {{ matrix_webroot }}
<Directory "{{ matrix_webroot }}">
Require all granted