- www.spar-checker.de
- www.sparkasse-sparchecker.de
ssl: false
- docroot_owner: apache
+ docroot_owner: deploy.spk
docroot_group: apache
docroot_mode: '0775'
directories:
auth_digest_algorithm: MD5
auth_user_file: '/etc/httpd/htdigest'
auth_require: 'valid-user'
+ setenvif:
+ - 'HTTPS on X-Forwarded-Proto=https'
+ - 'HTTPS on HTTPS=on'
+ rewrites:
+ - comment: 'http to https'
+ rewrite_cond:
+ - '%%{ich-trickse}{HTTP:HTTPS} !=on'
+ rewrite_rule:
+ - '^(.*)$ https://spar-checker-de.pixelpark.net$1 [R=301,L]'
+ - comment: 'Alle Aliase auf Servername'
+ rewrite_cond:
+ - '%%{ich-trickse}{HTTP_HOST} !^spar-checker-de.pixelpark.net$ [NC]'
+ rewrite_rule:
+ - '^(.*)$ https://spar-checker-de.pixelpark.net$1 [R=301,L]'