]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
mobile-aem - install apache in front of author
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 23 May 2017 07:43:41 +0000 (09:43 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 23 May 2017 07:43:41 +0000 (09:43 +0200)
customer/mobile-aem/common.yaml

index 10da958cdc00f7bf513b337238ede35b67a4adfb..fd4531c1237551ba77d848c7f34d7ccf138f4523 100644 (file)
@@ -150,4 +150,41 @@ aem::dispatcher::download_type_options:
   packaging: so
   repos: https://nexus.pixelpark.com/content/groups/public/
 
-
+# Apache Author
+infra::profile::aem::author::enable_apache: true
+infra::profile::aem::author::pp_vhosts:
+  sirona-author:
+    docroot: '/var/www'
+    servername: prod-mobile-author.pixelpark.net
+    cert_servername: 'wildcard.pixelpark.net'
+    cert_customer: 'pixelpark'
+    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'
+    allow_encoded_slashes: 'on'
+    rewrites_non_ssl:
+      - https:
+        comment: 'all to https'
+        rewrite_rule:
+          - '^(.*)$ https://prod-mobile-author.pixelpark.net$1 [L,R=301,QSA,NE]'
+    proxy_preserve_host: true
+    proxy_pass:
+      - { path: /, url: 'http://localhost:4502/' }
+    request_headers_ssl:
+      - 'set X-Forwarded-Proto "https"'
+      - 'set X-Forwarded-Ssl on'
+      - 'set X-Forwarded-Port 443'
+    aliases:
+      - { alias: /error_custom/ , path: /var/www/html/error_custom/ }
+    error_documents:
+      - { error_code: 502 , document: "/error_custom/error.shtml" }
+      - { error_code: 503 , document: "/error_custom/error.shtml" }
+    directories:
+      # docroot
+      - provider: directory
+        path: '/var/www/'
+      # error_documents
+      - provider: directory
+        path: /var/www/html/error_custom/
+        options:
+          - +Includes