From: Oliver Böttcher Date: Thu, 20 Apr 2017 09:09:35 +0000 (+0200) Subject: ODT - fix apache X-Git-Tag: v0.1.0~3120 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=4f8ad829b9672a05b0ecf62b132e69e1c9979629;p=pixelpark%2Fhiera.git ODT - fix apache --- diff --git a/customer/mbvd-odt/odt-daimler-com.pixelpark.net.yaml b/customer/mbvd-odt/odt-daimler-com.pixelpark.net.yaml index 8c5f1acd..e22fc21a 100644 --- a/customer/mbvd-odt/odt-daimler-com.pixelpark.net.yaml +++ b/customer/mbvd-odt/odt-daimler-com.pixelpark.net.yaml @@ -1,10 +1,10 @@ --- infra::role: base -#infra::additional_classes: - #- infra::profile::apache - #- apache::mod::proxy_ajp - #- apache::mod::remoteip - #- apache::mod::headers +infra::additional_classes: + - infra::profile::apache + - apache::mod::proxy_ajp + - apache::mod::remoteip + - apache::mod::headers infra::profile::apache::pp_vhosts: odt: @@ -24,7 +24,7 @@ infra::profile::apache::pp_vhosts: - https: comment: 'almost all to https' rewritecond: - - '%{ich-trickse}{REQUEST_URI} !^/.\.html' + - '%{ich-trickse}{REQUEST_URI} !^(/.\.html|/emm_webservice)$' rewrite_rule: - '^(.*)$ https://odt-daimler-com.pixelpark.net$1 [L,R=301]' proxy_preserve_host: true