]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
sirona-aem - Add apache code for author, but disabled, in int env
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Wed, 2 Mar 2016 13:07:06 +0000 (14:07 +0100)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Wed, 2 Mar 2016 13:07:06 +0000 (14:07 +0100)
customer/sirona-aem/int.yaml

index 2daf60b6d0f1f4ab37fde68f3b2c000540da5f72..4c65ef6220ee265912b7cf9563142696e54a6484 100644 (file)
@@ -35,9 +35,21 @@ site::profile::aem::publish::pp_vhosts:
         auth_require: 'valid-user'
 
 # Apache Author
+site::profile::aem::author::enable_apache: false
 site::profile::aem::author::pp_vhosts:
-  sirona:
+  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'
+    rewrites_non_ssl:
+      - https:
+        comment: 'all to https'
+        rewrite_rule:
+          - '^(.*)$ https://int-sirona-author.pixelpark.net$1 [L,R=302]'
+    proxy_pass:
+      - { path: /, url: 'http://localhost:4502/' }
     directories:
       - docroot:
         provider: directory
@@ -46,7 +58,7 @@ site::profile::aem::author::pp_vhosts:
         provider: location
         path: '/'
         auth_type: Digest
-        auth_name: www
+        auth_name: server
         auth_digest_provider: file
         auth_digest_algorithm: MD5
         auth_user_file: '/etc/httpd/htdigest'