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_selfoss.j2 1.0KB

12345678910111213141516171819202122232425262728293031
  1. <VirtualHost *:80>
  2. ServerName {{ selfoss_domain }}
  3. Redirect permanent / https://{{ selfoss_domain }}/
  4. </VirtualHost>
  5. <VirtualHost *:443>
  6. ServerName {{ selfoss_domain }}
  7. SSLEngine on
  8. SSLProtocol ALL -SSLv2 -SSLv3
  9. SSLHonorCipherOrder On
  10. 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
  11. SSLCertificateFile /etc/ssl/certs/wildcard_public_cert.crt
  12. SSLCertificateKeyFile /etc/ssl/private/wildcard_private.key
  13. SSLCACertificateFile /etc/ssl/certs/wildcard_ca.pem
  14. Header add Strict-Transport-Security "max-age=15768000; includeSubdomains"
  15. DocumentRoot /var/www/selfoss
  16. Options -Indexes
  17. ErrorLog /var/log/apache2/selfoss.info-error_log
  18. CustomLog /var/log/apache2/selfoss.info-access_log common
  19. <Directory /var/www/selfoss>
  20. AllowOverride All
  21. Order allow,deny
  22. allow from all
  23. DirectoryIndex index.php
  24. </Directory>
  25. </VirtualHost>