From a0ea3edcc0608540bcc59f8ce400e083432985d1 Mon Sep 17 00:00:00 2001 From: Philipp Dallig Date: Tue, 21 Mar 2017 10:15:09 +0100 Subject: [PATCH] sirona-url-shorter - use https --- customer/sirona-url-shorter/production.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/customer/sirona-url-shorter/production.yaml b/customer/sirona-url-shorter/production.yaml index 03f8cacc..de0eef24 100644 --- a/customer/sirona-url-shorter/production.yaml +++ b/customer/sirona-url-shorter/production.yaml @@ -95,6 +95,12 @@ site::profile::apache::pp_vhosts: - MultiViews allow_override: - None + rewrites: + - comment: 'http to https' + rewrite_cond: + - '%%{ich-trickse}{HTTPS} !=on' + rewrite_rule: + - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]' site::profile::apache_php::fpm_pool: url-shorter: -- 2.39.5