]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
sirona-aem - Enable also an Webserver on int in front of aem author
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Wed, 28 Sep 2016 10:17:55 +0000 (12:17 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Wed, 28 Sep 2016 10:17:55 +0000 (12:17 +0200)
customer/sirona-aem/test.yaml

index c166f8b0194221f52c34b77f18294dd8f069e21c..489d11d9d1e0da00afeab706fbcb8ef85a914002 100644 (file)
@@ -180,13 +180,29 @@ site::profile::aem::publish::pp_vhosts:
           - 'env AccessControlAllowOrigin'
 
 # Apache Author
-#site::profile::aem::author::pp_vhosts:
-#  sirona:
-#    docroot: '/var/www'
-#    directories:
-#      - docroot:
-#        provider: directory
-#        path: '/var/www/'
+site::profile::aem::author::enable_apache: true
+site::profile::aem::author::pp_vhosts:
+  sirona-author:
+    docroot: '/var/www'
+    servername: int-sirona-author.pixelpark.net
+    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://int-sirona-author.pixelpark.net$1 [L,R=302]'
+    proxy_preserve_host: true
+    proxy_pass:
+      - { path: /, url: 'http://localhost:4502/' }
+    request_headers_ssl:
+      - 'set X-Forwarded-Proto "https" env=HTTPS'
+    directories:
+      - docroot:
+        provider: directory
+        path: '/var/www/'
 #      - location1:
 #        provider: location
 #        path: '/'