]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
spk-blog dev-sparkasseblog01
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Mon, 23 Jul 2018 13:33:19 +0000 (15:33 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Mon, 23 Jul 2018 13:33:19 +0000 (15:33 +0200)
customer/spk-blog/dev-sparkasseblog01.pixelpark.net.yaml

index c57de2da74b808b5fc3dfdaf1966912baf55c084..91268ea3fba5a36e6856c67d7e1ab25710870286 100644 (file)
@@ -34,7 +34,13 @@ infra::additional_classes:
   - apache::mod::remoteip
   - infra::profile::cron
 
-apache::mod::remoteip::header: Client-Ip
+apache::mod::remoteip::header: 'Client-IP'
+
+apache::mod::remoteip::proxy_ips:
+  - '192.168.15.249'
+  - '192.168.15.250'
+  - '192.168.15.251'
+  - '192.168.15.252'
 
 repo::remi_php70: true
 
@@ -89,7 +95,7 @@ infra::profile::wordpress::projects:
             - 'valid-user'
             - 'ip 217.66.51.0/24'
             - 'ip 80.146.239.0/29'
-            - 'env allow_access'
+#            - 'env allow_access'
             - local
       - provider: location
         path: '/wp-admin'
@@ -103,8 +109,8 @@ infra::profile::wordpress::projects:
           - local
     setenvif:
       - "HTTPS on HTTPS=on"
-      - '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
+#      - '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: