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:
parent
7f1653d881
commit
5624967fd9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user