]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
ODT - renamed vm
authorOliver Böttcher <oliver.boettcher@pixelpark.com>
Wed, 18 Jan 2017 15:25:34 +0000 (16:25 +0100)
committerOliver Böttcher <oliver.boettcher@pixelpark.com>
Wed, 18 Jan 2017 15:25:34 +0000 (16:25 +0100)
customer/mbvd-odt/int-odt-daimler-com.pixelpark.net.yaml [new file with mode: 0644]

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 (file)
index 0000000..483a4da
--- /dev/null
@@ -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/' }