From: Philipp Dallig Date: Wed, 28 Sep 2016 10:17:55 +0000 (+0200) Subject: sirona-aem - Enable also an Webserver on int in front of aem author X-Git-Tag: v0.1.0~4092 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=d1ade7ead73f46374ec8fd9bc9c1903ea4c8a617;p=pixelpark%2Fhiera.git sirona-aem - Enable also an Webserver on int in front of aem author --- 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: '/'