sudo: true
# custom-admins
+
+infra::additional_classes:
+ - infra::profile::apache
+ - apache::mod::proxy_http
+
+# additional_classes
+
+
+infra::profile::apache::pp_vhosts:
+ test-jira:
+ docroot: /var/www/test-jira
+ servername: test-jira01.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'
+ ssl_proxyengine: true
+ proxy_preserve_host: true
+ docroot_owner: apache
+ docroot_group: apache
+ docroot_mode: '2775'
+ directories:
+ - directory_root:
+ provider: directory
+ path: '/var/www/test-jira'
+ options:
+ - FollowSymLinks
+ - MultiViews
+ allow_override:
+ - All
+ directoryindex: index.html
+ - provider: location
+ path: '/'
+ proxy_pass:
+ - { path: /server-status, url: '!' }
+ - { path: /server-info, url: '!' }
+ - { path: /jira, url: 'http://test-jira01.pixelpark.net:8080/jira' }
+ headers_ssl:
+ - always set Strict-Transport-Security "max-age=31556926"
+ rewrites:
+ rewrites:
+ - httpsonly:
+ comment: 'Alles auf https umleiten.'
+ rewrite_rule:
+ - ^(.*)$ https://%%{ich-trickse}{HTTP_HOST}$1 [R=301,L]
+ - comment: 'Rewrite from / to /jira'
+ rewrite_rule:
+ - ^(/?)$ /jira/ [R=301,L]