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

36 строки
1.1 KiB

  1. # This is a sample file demonstrating how to set up reverse-proxy for element.example.com.
  2. # If you're not using Element (`matrix_client_element_enabled: false`), you won't need this.
  3. <VirtualHost *:80>
  4. ServerName element.example.com
  5. # You may wish to handle the /.well-known/acme-challenge paths here somehow,
  6. # if you're using ACME (Let's Encrypt) certificates.
  7. Redirect permanent / https://element.example.com/
  8. </VirtualHost>
  9. <VirtualHost *:443>
  10. ServerName element.example.com
  11. SSLEngine On
  12. # If you manage SSL certificates by yourself, these paths will differ.
  13. SSLCertificateFile /matrix/ssl/config/live/element.example.com/fullchain.pem
  14. SSLCertificateKeyFile /matrix/ssl/config/live/element.example.com/privkey.pem
  15. SSLProxyEngine on
  16. SSLProxyProtocol +TLSv1.2 +TLSv1.3
  17. SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
  18. ProxyPreserveHost On
  19. ProxyRequests Off
  20. ProxyVia On
  21. ProxyPass / http://127.0.0.1:81/
  22. ProxyPassReverse / http://127.0.0.1:81/
  23. ErrorLog ${APACHE_LOG_DIR}/element.example.com-error.log
  24. CustomLog ${APACHE_LOG_DIR}/element.example.com-access.log combined
  25. </VirtualHost>