require:
- local
rewrites:
-# - comment: 'http to https'
-# rewrite_cond:
-# - '%%{ich-trickse}{HTTPS} !=on'
-# rewrite_rule:
+ - comment: 'http to https'
+ rewrite_cond:
+ - '%%{ich-trickse}{HTTPS} !=on'
+ rewrite_rule:
+ - '(.*) https://www.deutsche-wohnen.com$1 [R=301,L]'
# - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'
- DWWS-1152:
comment: 'Rewrites deuwo'
docroot: /var/www/immo/public
servername: api.deutsche-wohnen.com
serveraliases:
- - api01-deutsche-wohnen-com.pixelpark.net
+ - api01-deutsche-wohnen-com.pixelpark.net
cert_servername: 'wildcard.pixelpark.net'
cert_customer: 'pixelpark'
ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem'