From: Andreas Gerstenberg Date: Fri, 31 Mar 2017 12:41:09 +0000 (+0200) Subject: mercedes-me-adapter-service rewrite from http to https X-Git-Tag: v0.1.0~3346 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=5b9e2bee5cd2f74525a6966bd8b1cbd51931b327;p=pixelpark%2Fhiera.git mercedes-me-adapter-service rewrite from http to https --- diff --git a/customer/mbvd-adapter-service/app01-mercedes-benz-de.pixelpark.net.yaml b/customer/mbvd-adapter-service/app01-mercedes-benz-de.pixelpark.net.yaml index 7b023859..95873e3c 100644 --- a/customer/mbvd-adapter-service/app01-mercedes-benz-de.pixelpark.net.yaml +++ b/customer/mbvd-adapter-service/app01-mercedes-benz-de.pixelpark.net.yaml @@ -49,5 +49,12 @@ site::profile::apache::pp_vhosts: - 'ip 217.66.51.0/24' - 'ip 217.66.56.0/24' - 'ip 77.74.234.0/25' - + rewrites: + - alias: + comment: 'Weiterleitung auf https' + rewrite_cond: + - '%%{ich-trickse}{HTTPS} !=on [NC]' + rewrite_rule: + - '^(.*)$ https://app01-mercedes-benz-de.pixelpark.net$1 [L,R=301]' + diff --git a/customer/mbvd-adapter-service/int-app01-mercedes-benz-de.pixelpark.net.yaml b/customer/mbvd-adapter-service/int-app01-mercedes-benz-de.pixelpark.net.yaml index eea66615..c1dc499a 100644 --- a/customer/mbvd-adapter-service/int-app01-mercedes-benz-de.pixelpark.net.yaml +++ b/customer/mbvd-adapter-service/int-app01-mercedes-benz-de.pixelpark.net.yaml @@ -49,3 +49,10 @@ site::profile::apache::pp_vhosts: - 'ip 217.66.51.0/24' - 'ip 217.66.56.0/24' - 'ip 77.74.234.0/25' + rewrites: + - alias: + comment: 'Weiterleitung auf https' + rewrite_cond: + - '%%{ich-trickse}{HTTPS} !=on [NC]' + rewrite_rule: + - '^(.*)$ https://int-app01-mercedes-benz-de.pixelpark.net$1 [L,R=301]'