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

123456789101112131415161718192021222324252627
  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. SSLEngine on
  10. SSLProtocol ALL -SSLv2
  11. SSLHonorCipherOrder On
  12. 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
  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. Header add Strict-Transport-Security "max-age=15768000; includeSubdomains"
  17. DocumentRoot "/var/www/{{ domain }}"
  18. DirectoryIndex index.html
  19. Options -Indexes
  20. HostnameLookups Off
  21. </VirtualHost>