12345678910111213141516171819202122232425262728293031 |
- <VirtualHost *:80>
- ServerName {{ wallabag_domain }}
-
- Redirect permanent / https://{{ wallabag_domain }}/
- </VirtualHost>
-
- <VirtualHost *:443>
- ServerName {{ wallabag_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/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>
|