Nessuna descrizione
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_apache2_sites-available_autoconfig.j2 1.3KB

12345678910111213141516171819202122232425262728293031323334
  1. # NOTE: We don't permanently redirect clients to the HTTPS address because some clients, like
  2. # Thunderbird, dont't follow redirections to the HTTPS URL.
  3. #
  4. # Additionally, documentation doesn't say whether the XML file should be served over either HTTP,
  5. # HTTPS or both, even though only the former is mentioned. Still, we allow clients to choose
  6. # between HTTP and HTTPS transports.
  7. <VirtualHost *:80>
  8. ServerName {{ mail_server_autoconfig_hostname }}
  9. DocumentRoot "/var/www/autoconfig"
  10. Options -Indexes
  11. HostnameLookups Off
  12. </VirtualHost>
  13. <VirtualHost *:443>
  14. ServerName {{ mail_server_autoconfig_hostname }}
  15. SSLEngine on
  16. SSLProtocol ALL -SSLv2
  17. SSLHonorCipherOrder On
  18. SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AES:RSA+3DES:!ADH:!AECDH:!MD5:!DSS
  19. SSLCertificateFile /etc/ssl/certs/wildcard_public_cert.crt
  20. SSLCertificateKeyFile /etc/ssl/private/wildcard_private.key
  21. SSLCACertificateFile /etc/ssl/certs/wildcard_ca.pem
  22. Header add Strict-Transport-Security "max-age=15768000; includeSubdomains"
  23. DocumentRoot "/var/www/autoconfig"
  24. Options -Indexes
  25. HostnameLookups Off
  26. </VirtualHost>