From 58f99dd71e3310ea94a2993d856cc758ab7167f2 Mon Sep 17 00:00:00 2001 From: Michael Krause Date: Mon, 17 Sep 2018 15:55:08 +0200 Subject: [PATCH] Update https rewrite --- customer/pixelpark/test-jira01.pixelpark.net.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/customer/pixelpark/test-jira01.pixelpark.net.yaml b/customer/pixelpark/test-jira01.pixelpark.net.yaml index dc0345c9..1438a815 100644 --- a/customer/pixelpark/test-jira01.pixelpark.net.yaml +++ b/customer/pixelpark/test-jira01.pixelpark.net.yaml @@ -48,11 +48,11 @@ infra::profile::apache::pp_vhosts: headers_ssl: - always set Strict-Transport-Security "max-age=31556926" rewrites: - rewrites: - - httpsonly: - comment: 'Alles auf https umleiten.' + - comment: 'Alles auf https umleiten.' + rewrite_cond: + - '%{literal("%")}{HTTPS} !=on' rewrite_rule: - - ^(.*)$ https://%%{ich-trickse}{HTTP_HOST}$1 [R=301,L] + - ^(.*)$ https://%{literal("%")}{HTTP_HOST}$1 [R=301,L] - comment: 'Rewrite from / to /jira' rewrite_rule: - ^(/?)$ /jira/ [R=301,L] -- 2.39.5