From 491962e9457b468796e0b0dd0623ab29dab0bb5c Mon Sep 17 00:00:00 2001
From: Thomas Dalichow <thomas.dalichow@publicispixelpark.de>
Date: Tue, 26 Sep 2017 17:55:35 +0200
Subject: [PATCH] spk-spar-checker - add own IPs to admin_ip_range and by that
 allow access from localhost (fix)

---
 customer/spk-spar-checker/test.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/customer/spk-spar-checker/test.yaml b/customer/spk-spar-checker/test.yaml
index 9209172b..3eb916a2 100644
--- a/customer/spk-spar-checker/test.yaml
+++ b/customer/spk-spar-checker/test.yaml
@@ -49,8 +49,8 @@ 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'
-      - 'X-Forwarded-For ^192.168.15.18 admin_ip_range'
-      - 'X-Forwarded-For ^192.168.15.19 admin_ip_range'
+      - 'Remote_Addr ^192.168.15.18 admin_ip_range'
+      - 'Remote_Addr ^192.168.15.19 admin_ip_range'
     error_documents:
       - { error_code: 401 , document: "/401.html" }
       - { error_code: 403 , document: "/403.html" }
-- 
2.39.5