From: Philipp Dallig Date: Tue, 23 May 2017 07:43:41 +0000 (+0200) Subject: mobile-aem - install apache in front of author X-Git-Tag: v0.1.0~2946 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=cb9772aa5d71ee5a724b590a42f5c2db85fd60b3;p=pixelpark%2Fhiera.git mobile-aem - install apache in front of author --- diff --git a/customer/mobile-aem/common.yaml b/customer/mobile-aem/common.yaml index 10da958c..fd4531c1 100644 --- a/customer/mobile-aem/common.yaml +++ b/customer/mobile-aem/common.yaml @@ -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