12345678910111213141516171819202122232425262728293031323334353637 |
- <VirtualHost *:80>
- ServerName {{ webmail_subdomain }}.{{ item.name }}
-
- Redirect temp / https://{{ webmail_subdomain }}.{{ item.name }}/
- </VirtualHost>
-
- <VirtualHost *:443>
- ServerName {{ webmail_subdomain }}.{{ item.name }}
-
- SSLEngine On
- DocumentRoot /var/lib/roundcube
- Options -Indexes
- LogLevel warn
- ErrorLog /var/log/apache2/roundcube.info-error_log
- CustomLog /var/log/apache2/roundcube.info-access_log common
-
- <Directory /var/www/roundcube>
- AllowOverride All
- Require all granted
- DirectoryIndex index.php
- </Directory>
-
- <Directory /opt/roundcube/config>
- AllowOverride None
- Require all denied
- </Directory>
-
- <Directory /opt/roundcube/temp>
- AllowOverride None
- Require all denied
- </Directory>
-
- <Directory /opt/roundcube/logs>
- AllowOverride None
- Require all denied
- </Directory>
- </VirtualHost>
|