From: Thomas Dalichow Date: Tue, 26 Sep 2017 16:33:50 +0000 (+0200) Subject: spk-spar-checker - add own IPs to admin_ip_range and by that allow access from localh... X-Git-Tag: v0.1.0~2443^2~1 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=329fbc6e09d54f525acbdde8ba8e9f58a37aee80;p=pixelpark%2Fhiera.git spk-spar-checker - add own IPs to admin_ip_range and by that allow access from localhost (fix 3) --- diff --git a/customer/spk-spar-checker/test.yaml b/customer/spk-spar-checker/test.yaml index 859dc3a2..5e74ebb1 100644 --- a/customer/spk-spar-checker/test.yaml +++ b/customer/spk-spar-checker/test.yaml @@ -49,7 +49,7 @@ 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' -# - 'Remote_Addr 192.168.15.251 admin_ip_range' + - 'X-Forwarded-For 192.168.15.1[89] admin_ip_range' error_documents: - { error_code: 401 , document: "/401.html" } - { error_code: 403 , document: "/403.html" }