From: sascha.strassheim Date: Tue, 27 Mar 2018 12:54:18 +0000 (+0200) Subject: symfony vhost für deuwo immobilien API X-Git-Tag: v0.1.0~1372 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=3c543d218d44e363a899dd3336103877e3374cc0;p=pixelpark%2Fhiera.git symfony vhost für deuwo immobilien API --- diff --git a/customer/deuwo/dev-web01-deutsche-wohnen-com.pixelpark.net.yaml b/customer/deuwo/dev-web01-deutsche-wohnen-com.pixelpark.net.yaml index 41a64abf..e01de5f1 100644 --- a/customer/deuwo/dev-web01-deutsche-wohnen-com.pixelpark.net.yaml +++ b/customer/deuwo/dev-web01-deutsche-wohnen-com.pixelpark.net.yaml @@ -110,6 +110,8 @@ infra::profile::apache::htdigest: server: www: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAkGVrLBqpX2W1VtWyCwq4OqUsAuG9q6GFiEAm3Gl4ConRU3/mXJc+bJ3X90FgppTTR5h+7JfOMIVH5eBTx4fHQs6iMPHQ+5ZfqXdedDzkvXIBCwShcr7Xrjv5bZtW3ZiJW3umUg5f+GSOXxlu/legOeG6eGjm71s5/AjiVb1AMEROtZPX8wAQevi/AT4nLmwwlKXVBTufD1pXEE/DXdEoF7KdJwdw430DoJ6mFmksBH1zuz3Mpx483DxuJVaYRPExSAKBvL8UyIQnBe1XxWj2wubiHaaK24/gw6B/5IFX3QuQadLqmfq10zWD5esxRyavwRJhu3kscCxH3GFRr/ZYrTBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBDDb+bXxt53ON/2h+LzX1yygCBgAjJ0nJuq7e4z10f4QqiLlesWiPMBW/aizVAdwa5tIA==] +# deuwo typo3 cms + infra::profile::typo3::projects_composer_monolith: deuwo: db_pass: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCAXYCAQAxggEhMIIBHQIBADAFMAACAQEwDQYJKoZIhvcNAQEBBQAEggEAXgJqHnz8aBejTM/aXRrNhJ08ntDbcct2tSjZ9P4uYzBdU4etvNb2w9w9woZ7mak+a8ct+zdK2+vRvotAfF3/LTSnZ/e84rhGcobaGgb5P6ax0JdMcECqvFaVGQCeBMmk9NwglfQawra4rUD1QcC+Nhe9Qnhgpa47jiT2Yw0b33VhwIl5wYR9CQ7BPjUFtSYqNucch+zJRD3RHzGqlW4ySEr/QyemRiqrH5nT112c9Y9Q9LVTZbcltFdxLkULeRfIDGh+wyB8buS55k8hgfn2FnBUg1xZq3EbXQnT6vBo8uUuJSzQy6IYq0dTYupujOZEKuyilEOvS8mXHSa+Af7jejBMBgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAjDGT+rSU6N5CzGJi/WLYLgCAzXaPlsEHMzwmCqX/bLC0OmMY/7eY4fD5kFdcIc69p6A==] @@ -142,6 +144,8 @@ infra::profile::typo3::projects_composer_monolith: php_admin_value: max_input_vars: '1500' +# deuwo sytleguide vhost für statische mockup Dateien (frontend-preview) + infra::profile::apache::pp_vhosts: styleguide: docroot: '/var/www/styleguide' @@ -159,14 +163,55 @@ infra::profile::apache::pp_vhosts: path: "/var/www/styleguide" options: - FollowSymLinks -# htaccess auth_type: Digest auth_name: server auth_digest_provider: file auth_digest_algorithm: MD5 auth_user_file: '/etc/httpd/htdigest' auth_require: 'valid-user' -# https rewrite + 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]' + +# deuwo symfony API vhost + +infra::profile::apache::pp_vhosts: + besttoimpress: + 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'