]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
pixelpark abnahme modify auth requires
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Fri, 13 Oct 2017 07:45:45 +0000 (09:45 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Fri, 13 Oct 2017 07:45:45 +0000 (09:45 +0200)
customer/pixelpark/abnahme.pixelpark.com.yaml

index cb633b3ebd3557ae4fad439d2a921cc8c44b90b0..37df8cc41c59e158ba93dd045203736661835844 100644 (file)
@@ -87,7 +87,28 @@ infra::profile::apache::pp_vhosts:
         auth_digest_provider: file
         auth_digest_algorithm: MD5
         auth_user_file: '/etc/httpd/htdigest'
-        auth_require: 'valid-user'
+#        auth_require: 'valid-user'
+        require:
+          enforce: any
+          requires:
+            - 'valid-user'
+            - 'ip 217.66.49.8'
+            - 'ip 217.66.50.9'
+            - 'ip 217.66.51.0/24'
+            - 'ip 217.66.56.0/24'
+            - 'ip 93.188.110.32/28'
+            - 'ip 93.188.110.64/27'
+            - 'ip 93.188.110.96/28'
+            - 'ip 93.188.110.112/29'
+            - 'ip 93.188.110.120/29'
+            - 'ip 10.90.10.0/24'
+            - 'ip 10.90.11.0/24'
+            - 'ip 10.90.12.0/24'
+            - 'ip 10.90.13.0/24'
+            - 'ip 10.90.14.0/24'
+            - 'ip 10.90.15.0/24'
+            - 'ip 10.120.10.0/24'
+            - 'ip 10.99.1.0/24'
       - provider: location
         path: '/huk'
         auth_type: Digest