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

12345678910111213141516171819202122232425262728293031323334353637
  1. <VirtualHost *:80>
  2. ServerName {{ webmail_subdomain }}.{{ item.name }}
  3. Redirect temp / https://{{ webmail_subdomain }}.{{ item.name }}/
  4. </VirtualHost>
  5. <VirtualHost *:443>
  6. ServerName {{ webmail_subdomain }}.{{ item.name }}
  7. SSLEngine On
  8. DocumentRoot /var/lib/roundcube
  9. Options -Indexes
  10. LogLevel warn
  11. ErrorLog /var/log/apache2/roundcube.info-error_log
  12. CustomLog /var/log/apache2/roundcube.info-access_log common
  13. <Directory /var/lib/roundcube>
  14. AllowOverride All
  15. Require all granted
  16. DirectoryIndex index.php
  17. </Directory>
  18. <Directory /var/lib/roundcube/config>
  19. AllowOverride None
  20. Require all denied
  21. </Directory>
  22. <Directory /var/lib/roundcube/temp>
  23. AllowOverride None
  24. Require all denied
  25. </Directory>
  26. <Directory /var/lib/roundcube/logs>
  27. AllowOverride None
  28. Require all denied
  29. </Directory>
  30. </VirtualHost>