From d1ade7ead73f46374ec8fd9bc9c1903ea4c8a617 Mon Sep 17 00:00:00 2001 From: Philipp Dallig Date: Wed, 28 Sep 2016 12:17:55 +0200 Subject: [PATCH] sirona-aem - Enable also an Webserver on int in front of aem author --- customer/sirona-aem/test.yaml | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/customer/sirona-aem/test.yaml b/customer/sirona-aem/test.yaml index c166f8b0..489d11d9 100644 --- a/customer/sirona-aem/test.yaml +++ b/customer/sirona-aem/test.yaml @@ -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: '/' -- 2.39.5