From b580f1b94bb04e2cf993b3dd7a0201f5a04f8403 Mon Sep 17 00:00:00 2001 From: Andreas Gerstenberg Date: Thu, 14 Sep 2017 12:35:18 +0200 Subject: [PATCH] spk-spar-checker some fixes --- customer/spk-spar-checker/production.yaml | 10 +++++----- customer/spk-spar-checker/test.yaml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/customer/spk-spar-checker/production.yaml b/customer/spk-spar-checker/production.yaml index 8e77ebe5..58405110 100644 --- a/customer/spk-spar-checker/production.yaml +++ b/customer/spk-spar-checker/production.yaml @@ -50,6 +50,11 @@ infra::profile::apache::pp_vhosts: - 'HTTPS on X-Forwarded-Proto=https' - 'HTTPS on HTTPS=on' - 'X-Forwarded-For ^80.146.239.2 admin_ip_range' + error_documents: + - { error_code: 401 , document: "/401.html" } + - { error_code: 403 , document: "/403.html" } + - { error_code: 404 , document: "/404.html" } + - { error_code: 500 , document: "/500.html" } directories: - provider: directory path: '/var/www/spar-checker/sparchecker-frontend/' @@ -79,11 +84,6 @@ infra::profile::apache::pp_vhosts: require: - 'valid-user' - 'env admin_ip_range' - error_documents: - - { error_code: 401 , document: "/401.html" } - - { error_code: 403 , document: "/403.html" } - - { error_code: 404 , document: "/404.html" } - - { error_code: 500 , document: "/500.html" } - provider: directory path: '/var/www/spar-checker/sparchecker-backend/public/sfp/' addhandlers: diff --git a/customer/spk-spar-checker/test.yaml b/customer/spk-spar-checker/test.yaml index 37050f9a..7a93ded5 100644 --- a/customer/spk-spar-checker/test.yaml +++ b/customer/spk-spar-checker/test.yaml @@ -48,6 +48,11 @@ infra::profile::apache::pp_vhosts: - 'HTTPS on X-Forwarded-Proto=https' - 'HTTPS on HTTPS=on' - 'X-Forwarded-For ^80.146.239.2 admin_ip_range' + error_documents: + - { error_code: 401 , document: "/401.html" } + - { error_code: 403 , document: "/403.html" } + - { error_code: 404 , document: "/404.html" } + - { error_code: 500 , document: "/500.html" } directories: - provider: directory path: '/var/www/spar-checker/sparchecker-frontend/' @@ -77,11 +82,6 @@ infra::profile::apache::pp_vhosts: require: - 'valid-user' - 'env admin_ip_range' - error_documents: - - { error_code: 401 , document: "/401.html" } - - { error_code: 403 , document: "/403.html" } - - { error_code: 404 , document: "/404.html" } - - { error_code: 500 , document: "/500.html" } - provider: directory path: '/var/www/spar-checker/sparchecker-backend/public/sfp/' addhandlers: -- 2.39.5