]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
spk-spar-checker some fixes
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Thu, 14 Sep 2017 10:35:18 +0000 (12:35 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Thu, 14 Sep 2017 10:35:18 +0000 (12:35 +0200)
customer/spk-spar-checker/production.yaml
customer/spk-spar-checker/test.yaml

index 8e77ebe5ae0909348412b5a318a89b9eae3e0326..5840511012d496e0b1cd8b14f5212d49ada8c6b2 100644 (file)
@@ -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:
index 37050f9a81bbeb7735d99d326ac0407b780895a7..7a93ded51eee6ed2d8aa759ab5fd0853d54bca41 100644 (file)
@@ -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: