Files
configpolicy/roles/websites/proxy-matrix/templates/matrix.httpd.conf.j2
Dustin C. Hatch 5a114eecf0 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.
2020-12-30 22:05:26 -06:00

14 lines
371 B
Django/Jinja

<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>