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_roundcube.j2 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <VirtualHost *:80>
  2. ServerName {{ webmail_domain }}
  3. Redirect permanent / https://{{ webmail_domain }}/
  4. </VirtualHost>
  5. <VirtualHost *:443>
  6. ServerName {{ webmail_domain }}
  7. SSLEngine on
  8. SSLProtocol ALL -SSLv2
  9. SSLHonorCipherOrder On
  10. 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
  11. SSLCertificateFile /etc/ssl/certs/wildcard_public_cert.crt
  12. SSLCertificateKeyFile /etc/ssl/private/wildcard_private.key
  13. SSLCACertificateFile /etc/ssl/certs/wildcard_ca.pem
  14. Header add Strict-Transport-Security "max-age=15768000; includeSubdomains"
  15. # Those aliases do not work properly with several hosts on your apache server
  16. # Uncomment them to use it or adapt them to your configuration
  17. # Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/
  18. # Alias /roundcube /var/lib/roundcube
  19. # Access to tinymce files
  20. DocumentRoot /var/lib/roundcube
  21. <Directory "/usr/share/tinymce/www/">
  22. Options Indexes MultiViews FollowSymLinks
  23. AllowOverride None
  24. Order allow,deny
  25. allow from all
  26. </Directory>
  27. <Directory /var/lib/roundcube/>
  28. Options +FollowSymLinks
  29. # This is needed to parse /var/lib/roundcube/.htaccess. See its
  30. # content before setting AllowOverride to None.
  31. AllowOverride All
  32. order allow,deny
  33. allow from all
  34. </Directory>
  35. # Protecting basic directories:
  36. <Directory /var/lib/roundcube/config>
  37. Options -FollowSymLinks
  38. AllowOverride None
  39. </Directory>
  40. <Directory /var/lib/roundcube/temp>
  41. Options -FollowSymLinks
  42. AllowOverride None
  43. Order allow,deny
  44. Deny from all
  45. </Directory>
  46. <Directory /var/lib/roundcube/logs>
  47. Options -FollowSymLinks
  48. AllowOverride None
  49. Order allow,deny
  50. Deny from all
  51. </Directory>
  52. CustomLog /var/log/apache2/webmail_access.log combined
  53. ErrorLog /var/log/apache2/webmail_error.log
  54. </VirtualHost>