From: Andreas Gerstenberg Date: Thu, 14 Sep 2017 10:35:18 +0000 (+0200) Subject: spk-spar-checker some fixes X-Git-Tag: v0.1.0~2437^2~12 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=b580f1b94bb04e2cf993b3dd7a0201f5a04f8403;p=pixelpark%2Fhiera.git spk-spar-checker some fixes --- 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: