From 27a42766e088ec9a539ead515cfd49bcab6bafda Mon Sep 17 00:00:00 2001 From: "sascha.strassheim" Date: Tue, 27 Mar 2018 15:19:27 +0200 Subject: [PATCH] =?utf8?q?symfony=20vhost=20f=C3=BCr=20web01-deuwo=20immob?= =?utf8?q?ilien=20API=20-=20prod?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- ...b01-deutsche-wohnen-com.pixelpark.net.yaml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml b/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml index 97b5ff30..6e101db5 100644 --- a/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml +++ b/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml @@ -118,3 +118,46 @@ infra::profile::typo3::projects_composer_monolith: - '(.*) https://%%{ich-trickse}{HTTP_HOST}%%{ich-trickse}{REQUEST_URI} [R=301,L]' php_admin_value: max_input_vars: '1500' + +# deuwo symfony API vhost + +infra::profile::apache::pp_vhosts: + 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]' -- 2.39.5