Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

42 строки
1.2 KiB

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