From: sascha.strassheim Date: Thu, 29 Mar 2018 10:46:21 +0000 (+0200) Subject: deuwo immo api vhost X-Git-Tag: v0.1.0~1364 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e769a2e3d5159a49e2d20975c4469fe4e3a38a94;p=pixelpark%2Fhiera.git deuwo immo api vhost --- diff --git a/customer/deuwo/test-web01-deutsche-wohnen-com.pixelpark.net.yaml b/customer/deuwo/test-web01-deutsche-wohnen-com.pixelpark.net.yaml index 72a4938d..20e91965 100644 --- a/customer/deuwo/test-web01-deutsche-wohnen-com.pixelpark.net.yaml +++ b/customer/deuwo/test-web01-deutsche-wohnen-com.pixelpark.net.yaml @@ -174,3 +174,43 @@ infra::profile::apache::pp_vhosts: - '%%{ich-trickse}{HTTPS} !=on' rewrite_rule: - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]' +# deuwo symfony API vhost + symfony: + docroot: /var/www/immo/ + servername: dev-api01-deutsche-wohnen-com.pixelpark.net + cert_servername: 'wildcard.pixelpark.net' + cert_customer: 'pixelpark' + ssl_cert: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem' + ssl_chain: '/etc/pki/tls/certs/wildcard.pixelpark.net-cert.pem' + ssl_key: '/etc/pki/tls/private/wildcard.pixelpark.net-key.pem' + docroot_owner: apache + docroot_group: apache + docroot_mode: '2775' + directories: + - directory_root: + provider: directory + path: '/var/www/immo/public' + addhandlers: + - { handler: "proxy:unix:/var/run/php-fpm-symfony.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: 'Alles auf https umleiten' + rewrite_cond: + - '%%{ich-trickse}{HTTPS} !=on' + rewrite_rule: + - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]'