설명 없음
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

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