No Description
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 821B

1234567891011121314151617181920212223242526
  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. DocumentRoot "/var/www/autoconfig"
  17. Options -Indexes
  18. HostnameLookups Off
  19. </VirtualHost>