123456789101112131415161718192021222324 |
- <VirtualHost *:80>
- ServerName {{ selfoss_domain }}
-
- Redirect permanent / https://{{ selfoss_domain }}/
- </VirtualHost>
-
- <VirtualHost *:443>
- ServerName {{ selfoss_domain }}
-
- Include /etc/apache2/ssl.conf
-
- DocumentRoot /var/www/selfoss
- Options -Indexes
-
- ErrorLog /var/log/apache2/selfoss.info-error_log
- CustomLog /var/log/apache2/selfoss.info-access_log common
-
- <Directory /var/www/selfoss>
- AllowOverride All
- Order allow,deny
- allow from all
- DirectoryIndex index.php
- </Directory>
- </VirtualHost>
|