ServerName {{ owncloud_domain }}
Redirect permanent / https://{{ owncloud_domain }}/
ServerName {{ owncloud_domain }}
SSLEngine on
SSLProtocol ALL -SSLv2
SSLHonorCipherOrder On
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
SSLCertificateFile /etc/ssl/certs/wildcard_public_cert.crt
SSLCertificateKeyFile /etc/ssl/private/wildcard_private.key
SSLCACertificateFile /etc/ssl/certs/wildcard_ca.pem
Header add Strict-Transport-Security "max-age=15768000; includeSubdomains"
DocumentRoot /var/www/owncloud
Options -Indexes
ErrorLog /var/log/apache2/owncloud.info-error_log
CustomLog /var/log/apache2/owncloud.info-access_log common
php_value session_cache_limiter "public"
AllowOverride All
Order allow,deny
allow from all
DirectoryIndex index.php
SetOutputFilter DEFLATE
ExpiresActive On
ExpiresDefault "access plus 2 weeks"
ExpiresByType text/css "access plus 2 weeks"
ExpiresByType image/svg+xml "access plus 2 weeks"
ExpiresByType image/png "access plus 2 weeks"
ExpiresByType text/javascript "access plus 2 weeks"
ExpiresByType application/x-javascript "access plus 2 weeks"
ExpiresByType application/javascript "access plus 2 weeks"
ExpiresByType application/x-icon "access plus 2 weeks"
Header set Cache-Control "public"