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

123456789101112131415161718192021222324252627282930
  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. SSLProtocol ALL -SSLv2
  13. SSLHonorCipherOrder On
  14. SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AES:RSA+3DES:!ADH:!AECDH:!MD5:!DSS
  15. SSLCertificateFile /etc/ssl/certs/wildcard_public_cert.crt
  16. SSLCertificateKeyFile /etc/ssl/private/wildcard_private.key
  17. SSLCACertificateFile /etc/ssl/certs/wildcard_ca.pem
  18. DocumentRoot "/var/www/{{ blog_domain }}"
  19. DirectoryIndex index.html
  20. Options -Indexes
  21. HostnameLookups Off
  22. </VirtualHost>