Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName matrix.lptzocker.com
- ServerAdmin admin@lptzocker.com
- DocumentRoot /var/www/html
- ErrorLog ${APACHE_LOG_DIR}/error.log
- </VirtualHost>
- <VirtualHost *:443>
- SSLEngine on
- SSLCertificateFile /etc/letsencrypt/live/matrix.lptzocker.com/cert.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/matrix.lptzocker.com/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- SSLCertificateChainFile /etc/letsencrypt/live/matrix.lptzocker.com/chain.pem
- ServerName matrix.lptzocker.com
- AllowEncodedSlashes NoDecode
- ProxyPass /_matrix http://127.0.0.1:8008/ nocanon
- ProxyPassReverse /_matrix http://127.0.0.1:8008/
- </VirtualHost>
- <VirtualHost *:8448>
- SSLEngine on
- SSLCertificateFile /etc/letsencrypt/live/matrix.lptzocker.com/cert.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/matrix.lptzocker.com/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- SSLCertificateChainFile /etc/letsencrypt/live/matrix.lptzocker.com/chain.pem
- ServerName matrix.lptzocker.com
- AllowEncodedSlashes NoDecode
- ProxyPass /_matrix http://127.0.0.1:8008/_matrix nocanon
- ProxyPassReverse /_matrix http://127.0.0.1:8008/_matrix
- </VirtualHost>
- # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement