From: Oliver Böttcher Date: Tue, 17 Jan 2017 15:29:36 +0000 (+0100) Subject: ODT - int apache X-Git-Tag: v0.1.0~3595 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=ac670751807ece79640b9717e5d6d10efa39b319;p=pixelpark%2Fhiera.git ODT - int apache --- 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/' }