]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
spk-blog dev-sparkasseblog01 modify ip range for web auth
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Mon, 23 Jul 2018 12:51:01 +0000 (14:51 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Mon, 23 Jul 2018 12:51:01 +0000 (14:51 +0200)
customer/spk-blog/dev-sparkasseblog01.pixelpark.net.yaml

index b28925d0d724ae216480d508e5d1ff018d904db6..65aa84ddfd7256f9408e477b87766dbfdca13422 100644 (file)
@@ -85,8 +85,6 @@ infra::profile::wordpress::projects:
           enforce: any
           requires:
             - 'valid-user'
-            - 'ip 217.66.51.0/24'
-            - 'ip 80.146.239.0/29'
             - 'env allow_access'
             - local
       - provider: location
@@ -101,8 +99,8 @@ infra::profile::wordpress::projects:
           - local
     setenvif:
       - "HTTPS on HTTPS=on"
-      - 'Remote_Addr "217\.66\.51\.\d+" allow_access'
-      - 'Client-Ip "217.66.51.234" allow_access'
+      - 'Client-Ip "217\.66\.51\.\d+" allow_access'    # 217.66.51.0/24
+      - 'Client-Ip "80\.146\.239\.[0-7]" allow_access' # 80.146.239.0/29
 
 infra::profile::apache::pp_vhosts:
   insideforum: