Geen omschrijving
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_cgit.j2 782B

1234567891011121314151617181920212223242526
  1. <VirtualHost *:80>
  2. ServerName {{ cgit_domain }}
  3. Redirect permanent / https://{{ cgit_domain }}/
  4. </VirtualHost>
  5. <VirtualHost *:443>
  6. ServerName {{ cgit_domain }}
  7. SSLEngine On
  8. DocumentRoot /var/www/htdocs/cgit/
  9. <Directory "/var/www/htdocs/cgit/">
  10. AllowOverride None
  11. Options +ExecCGI
  12. Require all granted
  13. </Directory>
  14. Alias /cgit.png /var/www/htdocs/cgit/cgit.png
  15. Alias /cgit.css /var/www/htdocs/cgit/cgit.css
  16. Alias /favicon.ico /var/www/htdocs/cgit/favicon.ico
  17. Alias /robots.txt /var/www/htdocs/cgit/robots.txt
  18. ScriptAlias / /var/www/htdocs/cgit/cgit.cgi/
  19. CustomLog /var/log/apache2/cgit_access.log combined
  20. ErrorLog /var/log/apache2/cgit_error.log
  21. </VirtualHost>