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

123456789101112131415161718192021222324252627282930
  1. <VirtualHost *:80>
  2. ServerName {{ owncloud_domain }}
  3. Redirect permanent / https://{{ owncloud_domain }}/
  4. </VirtualHost>
  5. <VirtualHost *:443>
  6. ServerName {{ owncloud_domain }}
  7. SSLEngine on
  8. SSLProtocol ALL -SSLv2
  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/owncloud
  16. Options -Indexes
  17. ErrorLog /var/log/apache2/owncloud.info-error_log
  18. CustomLog /var/log/apache2/owncloud.info-access_log common
  19. <Directory /var/www/owncloud>
  20. AllowOverride All
  21. Order allow,deny
  22. allow from all
  23. </Directory>
  24. </VirtualHost>