---
infra::role: base
infra::additional_classes:
- - infra::profile::apache_php
- apache::mod::proxy_ajp
apache::mpm_module: event
apache::default_vhost: false
-repo::remi_php70: true
-
-php::extensions:
- xml: {}
- opcache: {}
-
-php::settings:
- PHP/short_open_tag: 'Off'
-
-accounts::users:
- thomas.bussmeyer:
- apply: true
- groups:
- - apache
- sudo: true
-
-php::fpm::pools:
- www:
- ensure: absent
-
-infra::profile::apache_php::fpm_pool:
- pressthebird:
- listen_owner: apache
- listen_group: apache
-
-infra::profile::apache::htdigest:
- server:
- www: ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAQsgfqgYOM2UCd0iIF7Ps0fXuGjOCL+Z975boQ229SHtJdoJpraQM/IA66Ma6YfXyIEncAbj/uX1C1c7u/8eyDb6f1lZLKEqEqYLK+b0awgJMPOIK8bvLjwqsNQ9/ct5Md3tVk5EWvfVlOHtKOxQQESPFjG8ZCHvBN0lRjvmmEckL+6nTNaN6flrHlBzeAfKgIKKaipjg51laBmh3t3Pk88+3Bh1EPlBTEmsa5nK2gO3dmcKuUhVmkUwtocIKcjMrt+r2xR1cxhvu9ffm6fHwTP02f6aAxQ2KbarAPW5FxDRvsHvHXPCZ7naLqd4Y46euTskfiWgDzx0BJCOMZAFPyTA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBab0txA6Fx97KxImehKLHAgBDGbLA/OUJOq7KMSAlAkmMd]
infra::profile::apache::pp_vhosts:
- pressthebird:
- docroot: /var/www/press-the-bird/public
- servername: pressthebird.pixelpark.com
- cert_servername: 'wildcard.pixelpark.com'
- cert_customer: 'pixelpark'
- ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem'
- ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.com-cert.pem'
- ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.com-key.pem'
- docroot_owner: apache
- docroot_group: apache
- docroot_mode: '2775'
- directories:
- - directory_root:
- provider: directory
- path: '/var/www/press-the-bird/public'
- addhandlers:
- - { handler: "proxy:unix:/var/run/php5-fpm-pressthebird.sock|fcgi://./" , extensions: '.php' }
- options:
- - FollowSymLinks
- - MultiViews
- allow_override:
- - All
- directoryindex: index.php index.html
-# - location1:
-# provider: location
-# path: '/'
-# auth_type: Digest
-# auth_name: server
-# auth_digest_provider: file
-# auth_digest_algorithm: MD5
-# auth_user_file: '/etc/httpd/htdigest'
-# auth_require: 'valid-user'
- rewrites:
- - alias:
- comment: 'Weiterleitung auf echte URL'
- rewrite_cond:
- - '%%{ich-trickse}{HTTP_HOST} !^pressthebird\.pixelpark\.com$ [NC]'
- rewrite_rule:
- - '^(.*)$ https://pressthebird.pixelpark.com$1 [R=301,L]'
- - alias1:
- comment: 'Weiterleitung auf https'
- rewrite_cond:
- - '%%{ich-trickse}{HTTPS} !=on [NC]'
- rewrite_rule:
- - '^(.*)$ https://pressthebird.pixelpark.com$1 [R=301,L]'
-
jira:
docroot: /var/www/jira
servername: jira.pixelpark.com