websites/proxy-matrix: Add Synapse rev proxy setup
The *websites/proxy-matrix* role configures the Internet-facing reverse proxy to handle the *hatch.chat* domain. Most Matrix communication happens over the default HTTPS port, and as such will be directed through the reverse proxy.
This commit is contained in:
13
roles/websites/proxy-matrix/templates/matrix.httpd.conf.j2
Normal file
13
roles/websites/proxy-matrix/templates/matrix.httpd.conf.j2
Normal file
@@ -0,0 +1,13 @@
|
||||
<VirtualHost *:443>
|
||||
ServerName hatch.chat
|
||||
|
||||
Include conf.d/ssl.include
|
||||
SSLCertificateFile /etc/pki/tls/certs/hatch.chat.cer
|
||||
SSLCertificateKeyFile /etc/pki/tls/private/hatch.chat.key
|
||||
|
||||
SSLProxyEngine On
|
||||
ProxyRequests Off
|
||||
AllowEncodedSlashes NoDecode
|
||||
ProxyPass / https://matrix0.pyrocufflink.blue/ nocanon
|
||||
ProxyPassReverse / https://matrix0.pyrocufflink.blue/
|
||||
</VirtualHost>
|
||||
Reference in New Issue
Block a user