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_selfoss.j2 646B

123456789101112131415161718192021
  1. <VirtualHost *:80>
  2. ServerName {{ selfoss_subdomain }}.{{ item.name }}
  3. Redirect temp / https://{{ selfoss_subdomain }}.{{ item.name }}/
  4. </VirtualHost>
  5. <VirtualHost *:443>
  6. ServerName {{ selfoss_subdomain }}.{{ item.name }}
  7. SSLEngine On
  8. DocumentRoot /var/www/selfoss
  9. Options -Indexes
  10. ErrorLog /var/log/apache2/selfoss.info-error_log
  11. CustomLog /var/log/apache2/selfoss.info-access_log common
  12. <Directory /var/www/selfoss>
  13. AllowOverride All
  14. Require all granted
  15. DirectoryIndex index.php
  16. </Directory>
  17. </VirtualHost>