From de09c1c222059fb95ae1a6a6a627b368d59a1361 Mon Sep 17 00:00:00 2001 From: Thomas Dalichow Date: Wed, 25 Oct 2017 15:28:10 +0200 Subject: [PATCH] pfizer - PFIZ-5424 CORS-Header setzen --- customer/pfizer/web02-pfizer-de.pixelpark.net.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/customer/pfizer/web02-pfizer-de.pixelpark.net.yaml b/customer/pfizer/web02-pfizer-de.pixelpark.net.yaml index 87dd89bc..0dafd642 100644 --- a/customer/pfizer/web02-pfizer-de.pixelpark.net.yaml +++ b/customer/pfizer/web02-pfizer-de.pixelpark.net.yaml @@ -91,7 +91,7 @@ infra::profile::typo3::projects: ssl_key: /etc/pki/tls/private/wildcard.pixelpark.net-key.pem #SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 headers: - - 'set Access-Control-Allow-Origin: *' + - 'set Access-Control-Allow-Origin %{literal('%')}{ORIGIN}e env=ORIGIN' directories: - location_root: provider: locationmatch @@ -133,8 +133,8 @@ infra::profile::typo3::projects: user: apache mode: '2770' settypo3_context: false - setenv: - - 'TYPO3_CONTEXT Production/redaktion' + setenvif: + - 'Origin "^https:\/\/(https://www\.pfizermedicalinformation\.de|https:\/\/www\.pfizerpro\.de|https:\/\/pfizerprodedev8\.prod\.acquia-sites\.com|https:\/\/pfizerprodestg\.prod\.acquia-sites\.com)$" ORIGIN=$0' php_admin_value: memory_limit: 512M upload_max_filesize: 120M -- 2.39.5