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 718B

1234567891011121314151617181920212223242526
  1. NameVirtualHost *:80
  2. <VirtualHost *:80>
  3. ServerName {{ blog_domain }}
  4. ServerAlias www.{{ blog_domain }}
  5. Redirect / https://{{ blog_domain }}/
  6. </VirtualHost>
  7. NameVirtualHost *:443
  8. <VirtualHost *:443>
  9. ServerName {{ blog_domain }}
  10. ServerAlias www.{{ blog_domain }}
  11. SSLEngine on
  12. SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
  13. SSLCertificateFile /etc/ssl/certs/wildcard_public_cert.crt
  14. SSLCertificateKeyFile /etc/ssl/private/wildcard_private.key
  15. SSLCACertificateFile /etc/ssl/certs/wildcard_ca.pem
  16. DocumentRoot "/var/www/{{ blog_domain }}"
  17. DirectoryIndex index.html
  18. HostnameLookups Off
  19. </VirtualHost>