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_blog.j2 438B

1234567891011121314151617181920
  1. <VirtualHost *:80>
  2. ServerName {{ domain }}
  3. ServerAlias www.{{ domain }}
  4. Redirect permanent / https://{{ domain }}/
  5. </VirtualHost>
  6. <VirtualHost *:443>
  7. ServerName {{ domain }}
  8. ServerAlias www.{{ domain }}
  9. Include /etc/apache2/ssl.conf
  10. DocumentRoot "/var/www/{{ domain }}"
  11. DirectoryIndex index.html
  12. Options -Indexes
  13. HostnameLookups Off
  14. </VirtualHost>