暫無描述
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_kanboard.j2 950B

123456789101112131415161718192021222324252627282930313233
  1. <VirtualHost *:80>
  2. ServerName {{ kanboard_subdomain }}.{{ item.name }}
  3. Redirect temp / https://{{ kanboard_subdomain }}.{{ item.name }}/
  4. </VirtualHost>
  5. <VirtualHost *:443>
  6. ServerName {{ kanboard_subdomain }}.{{ item.name }}
  7. SSLEngine On
  8. DocumentRoot "/var/www/kanboard"
  9. DirectoryIndex index.php
  10. HostnameLookups Off
  11. LogLevel warn
  12. ErrorLog /var/log/apache2/kanboard.info-error_log
  13. CustomLog /var/log/apache2/kanboard.info-access_log common
  14. <Directory /var/www/kanboard>
  15. Options -Indexes
  16. AllowOverride All
  17. Order allow,deny
  18. Allow from all
  19. Require all granted
  20. DirectoryIndex index.php
  21. </Directory>
  22. <Directory /var/www/kanboard/data>
  23. Options -Indexes
  24. AllowOverride All
  25. Order allow,deny
  26. Allow from all
  27. </Directory>
  28. </VirtualHost>