Matrix Docker Ansible eploy
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 

42 Zeilen
1.2 KiB

  1. # This is a sample file demonstrating how to set up reverse-proxy for dimension.DOMAIN.
  2. # If you're not using Dimension (`matrix_dimension_enabled: false`, which is also the default), you won't need this.
  3. <VirtualHost *:80>
  4. ServerName dimension.DOMAIN
  5. ProxyVia On
  6. # Map /.well-known/acme-challenge to the certbot server
  7. # If you manage SSL certificates by yourself, this will differ.
  8. <Location /.well-known/acme-challenge>
  9. ProxyPreserveHost On
  10. ProxyPass http://127.0.0.1:2402/.well-known/acme-challenge
  11. </Location>
  12. Redirect permanent / https://dimension.DOMAIN/
  13. </VirtualHost>
  14. <VirtualHost *:443>
  15. ServerName dimension.DOMAIN
  16. SSLEngine On
  17. # If you manage SSL certificates by yourself, these paths will differ.
  18. SSLCertificateFile /matrix/ssl/config/live/dimension.DOMAIN/fullchain.pem
  19. SSLCertificateKeyFile /matrix/ssl/config/live/dimension.DOMAIN/privkey.pem
  20. SSLProxyEngine on
  21. SSLProxyProtocol +TLSv1.2 +TLSv1.3
  22. SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
  23. ProxyPreserveHost On
  24. ProxyRequests Off
  25. ProxyVia On
  26. ProxyPass / http://127.0.0.1:8184/
  27. ProxyPassReverse / http://127.0.0.1:8184/
  28. ErrorLog ${APACHE_LOG_DIR}/dimension.DOMAIN-error.log
  29. CustomLog ${APACHE_LOG_DIR}/dimension.DOMAIN-access.log combined
  30. </VirtualHost>