Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1.  
  2. <VirtualHost *:80>
  3.  
  4. ServerName matrix.lptzocker.com
  5.  
  6. ServerAdmin admin@lptzocker.com
  7. DocumentRoot /var/www/html
  8.  
  9. ErrorLog ${APACHE_LOG_DIR}/error.log
  10.  
  11. </VirtualHost>
  12.  
  13. <VirtualHost *:443>
  14.  
  15. SSLEngine on
  16.  
  17. SSLCertificateFile /etc/letsencrypt/live/matrix.lptzocker.com/cert.pem
  18. SSLCertificateKeyFile /etc/letsencrypt/live/matrix.lptzocker.com/privkey.pem
  19. Include /etc/letsencrypt/options-ssl-apache.conf
  20. SSLCertificateChainFile /etc/letsencrypt/live/matrix.lptzocker.com/chain.pem
  21.  
  22. ServerName matrix.lptzocker.com
  23.  
  24. AllowEncodedSlashes NoDecode
  25. ProxyPass /_matrix http://127.0.0.1:8008/ nocanon
  26. ProxyPassReverse /_matrix http://127.0.0.1:8008/
  27.  
  28. </VirtualHost>
  29.  
  30. <VirtualHost *:8448>
  31.  
  32. SSLEngine on
  33.  
  34. SSLCertificateFile /etc/letsencrypt/live/matrix.lptzocker.com/cert.pem
  35. SSLCertificateKeyFile /etc/letsencrypt/live/matrix.lptzocker.com/privkey.pem
  36. Include /etc/letsencrypt/options-ssl-apache.conf
  37. SSLCertificateChainFile /etc/letsencrypt/live/matrix.lptzocker.com/chain.pem
  38.  
  39. ServerName matrix.lptzocker.com
  40.  
  41. AllowEncodedSlashes NoDecode
  42. ProxyPass /_matrix http://127.0.0.1:8008/_matrix nocanon
  43. ProxyPassReverse /_matrix http://127.0.0.1:8008/_matrix
  44.  
  45. </VirtualHost>
  46.  
  47. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement