From ac670751807ece79640b9717e5d6d10efa39b319 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Tue, 17 Jan 2017 16:29:36 +0100 Subject: [PATCH] ODT - int apache --- ...nt-odt-daimler-com-temp.pixelpark.net.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/customer/mbvd-odt/int-odt-daimler-com-temp.pixelpark.net.yaml b/customer/mbvd-odt/int-odt-daimler-com-temp.pixelpark.net.yaml index 4c3c2b5e..566863df 100644 --- a/customer/mbvd-odt/int-odt-daimler-com-temp.pixelpark.net.yaml +++ b/customer/mbvd-odt/int-odt-daimler-com-temp.pixelpark.net.yaml @@ -1,2 +1,24 @@ --- site::role: base +site::additional_classes: + - site::profile::apache + - apache::mod::proxy_ajp + +site::profile::apache::pp_vhosts: + dev-odt: + docroot: '/var/www' + servername: int-odt-daimler-com-temp.pixelpark.net + ssl: true + ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem' + ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem' + ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem' + rewrites_non_ssl: + - https: + comment: 'almost all to https' + rewritecond: + - '%{ich-trickse}{REQUEST_URI} !^/.\.html' + rewrite_rule: + - '^(.*)$ https://dev-odt-daimler-com.pixelpark.net$1 [L,R=301]' + proxy_preserve_host: true + proxy_pass: + - { path: /, url: 'ajp://localhost:8009/' } -- 2.39.5