From eb6760e674f1ca4d6554051d0c2823be51ecb3b0 Mon Sep 17 00:00:00 2001 From: Sascha Date: Fri, 24 Aug 2018 16:09:01 +0200 Subject: [PATCH] deuwo rewrites on cms not api vhost --- ...b01-deutsche-wohnen-com.pixelpark.net.yaml | 73 +++++++++---------- 1 file changed, 36 insertions(+), 37 deletions(-) diff --git a/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml b/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml index 73a286d9..87b7c80a 100644 --- a/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml +++ b/customer/deuwo/web01-deutsche-wohnen-com.pixelpark.net.yaml @@ -97,43 +97,6 @@ infra::profile::typo3::projects_composer_monolith: - '%%{ich-trickse}{HTTPS} !=on' rewrite_rule: - '(.*) 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/public - servername: 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/php5-fpm-symfony.sock|fcgi://./" , extensions: '.php' } - options: - - FollowSymLinks - - MultiViews - allow_override: - - All - directoryindex: index.php index.html - 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]' -# nach livegang rewrites - DWWS-1152: comment: 'Rewrites deuwo' rewrite_cond: @@ -289,6 +252,42 @@ infra::profile::apache::pp_vhosts: - '%%{ich-trickse}{HTTP_HOST} ^(www.deutsche-wohnen.com|deutsche-wohnen.com)$' rewrite_rule: - '^/hinweisgeber$ https://www.deutsche-wohnen.com/hinweisgebersystem [R=301,L]' + php_admin_value: + max_input_vars: '1500' + +# deuwo symfony API vhost + +infra::profile::apache::pp_vhosts: + symfony: + docroot: /var/www/immo/public + servername: 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/php5-fpm-symfony.sock|fcgi://./" , extensions: '.php' } + options: + - FollowSymLinks + - MultiViews + allow_override: + - All + directoryindex: index.php index.html + 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]' # logstash -- 2.39.5