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.
 
 
 

31 lines
1.1 KiB

<VirtualHost *:80>
ServerName {{ wallabag_domain }}
Redirect permanent / https://{{ wallabag_domain }}/
</VirtualHost>
<VirtualHost *:443>
ServerName {{ wallabag_domain }}
SSLEngine on
SSLProtocol ALL -SSLv2 -SSLv3
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/wallabag
Options -Indexes
ErrorLog /var/log/apache2/wallabag.info-error_log
CustomLog /var/log/apache2/wallabag.info-access_log common
<Directory /var/www/wallabag>
AllowOverride All
Order allow,deny
allow from all
DirectoryIndex index.php
</Directory>
</VirtualHost>