From bb938187e7d770d4f713b9e71d7d96c04335217a Mon Sep 17 00:00:00 2001 From: sambufe Date: Mon, 26 Jun 2017 13:53:06 +0200 Subject: [PATCH] fbb www HTTPs fix --- customer/fbb-ws/production.yaml | 2 ++ customer/fbb-ws/test.yaml | 2 ++ customer/fbb-www/production.yaml | 2 ++ customer/fbb-www/test.yaml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/customer/fbb-ws/production.yaml b/customer/fbb-ws/production.yaml index 1b291576..6217380d 100644 --- a/customer/fbb-ws/production.yaml +++ b/customer/fbb-ws/production.yaml @@ -107,6 +107,8 @@ infra::profile::apache::pp_vhosts: setenv: - AIRLINE_DATA /www/data/fiona/app/online/docs/_airlines/index.php - POI_CMS_EXPORT_FILE /www/data/fiona/app/online/docs/poiExport/index.php + setenvif: + - 'HTTPS on X-Forwarded-Proto=https' headers: - 'set X-Content-Type-Options: nosniff' - 'set X-XSS-Protection: "1; mode=block"' diff --git a/customer/fbb-ws/test.yaml b/customer/fbb-ws/test.yaml index c268b44a..20116289 100644 --- a/customer/fbb-ws/test.yaml +++ b/customer/fbb-ws/test.yaml @@ -131,6 +131,8 @@ infra::profile::apache::pp_vhosts: setenv: - AIRLINE_DATA /www/data/fiona/app/online/docs/_airlines/index.php - POI_CMS_EXPORT_FILE /www/data/fiona/app/online/docs/poiExport/index.php + setenvif: + - 'HTTPS on X-Forwarded-Proto=https' headers: - 'set X-Content-Type-Options: nosniff' - 'set X-XSS-Protection: "1; mode=block"' diff --git a/customer/fbb-www/production.yaml b/customer/fbb-www/production.yaml index 3ef82fab..a0bc47c3 100644 --- a/customer/fbb-www/production.yaml +++ b/customer/fbb-www/production.yaml @@ -168,6 +168,8 @@ infra::profile::apache::pp_vhosts: setenv: - AIRLINE_DATA /www/data/fiona/app/online/docs/_airlines/index.php - POI_CMS_EXPORT_FILE /www/data/fiona/app/online/docs/poiExport/index.php + setenvif: + - 'HTTPS on X-Forwarded-Proto=https' headers: - 'set X-Content-Type-Options: nosniff' - 'set X-XSS-Protection: "1; mode=block"' diff --git a/customer/fbb-www/test.yaml b/customer/fbb-www/test.yaml index 79ef5d6f..f04f2acd 100644 --- a/customer/fbb-www/test.yaml +++ b/customer/fbb-www/test.yaml @@ -194,6 +194,8 @@ infra::profile::apache::pp_vhosts: setenv: - AIRLINE_DATA /www/data/fiona/app/online/docs/_airlines/index.php - POI_CMS_EXPORT_FILE /www/data/fiona/app/online/docs/poiExport/index.php + setenvif: + - 'HTTPS on X-Forwarded-Proto=https' headers: - 'set X-Content-Type-Options: nosniff' - 'set X-XSS-Protection: "1; mode=block"' -- 2.39.5