From f227aa641ed91bd002d766660716432e49120a81 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oliver=20B=C3=B6ttcher?= Date: Wed, 18 Jan 2017 16:25:34 +0100 Subject: [PATCH] ODT - renamed vm --- .../int-odt-daimler-com.pixelpark.net.yaml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml diff --git a/customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml b/customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml new file mode 100644 index 00000000..483a4da8 --- /dev/null +++ b/customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml @@ -0,0 +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://int-odt-daimler-com-temp.pixelpark.net$1 [L,R=301]' + proxy_preserve_host: true + proxy_pass: + - { path: /, url: 'ajp://localhost:8009/' } -- 2.39.5