]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
me-adapter-service add require ip ranges
authorAndreas Gerstenberg <gerstenberg@pixelpark.com>
Thu, 30 Mar 2017 14:17:11 +0000 (16:17 +0200)
committerAndreas Gerstenberg <gerstenberg@pixelpark.com>
Thu, 30 Mar 2017 14:17:11 +0000 (16:17 +0200)
customer/mbvd-adapter-service/app01-mercedes-benz-de.pixelpark.net.yaml
customer/mbvd-adapter-service/int-app01-mercedes-benz-de.pixelpark.net.yaml

index 30efd920a675e7c664c89adef4de254ee768489d..7b023859baf0f8e1766afe868b7e8202eaea2b41 100644 (file)
@@ -32,4 +32,22 @@ site::profile::apache::pp_vhosts:
     proxy_dest: 'http://localhost:8081'
     no_proxy_uris:
       - /server-status
+    directories:
+      - directory_root:
+        provider: directory
+        path: '/var/www/html'
+        options:
+          - FollowSymLinks
+          - MultiViews
+        allow_override:
+          - All
+      - location1:
+        provider: location
+        path: '/'
+        require:
+          - 'ip 217.66.50.0/24'
+          - 'ip 217.66.51.0/24'
+          - 'ip 217.66.56.0/24'
+          - 'ip 77.74.234.0/25'
+      
 
index 2ab57571e97416112ae98eb831a68504cfd3ca43..eea66615b029ce5bb21116466a4f7716f25308cb 100644 (file)
@@ -32,3 +32,20 @@ site::profile::apache::pp_vhosts:
     proxy_dest: 'http://localhost:8081'
     no_proxy_uris:
       - /server-status
+    directories:
+      - directory_root:
+        provider: directory
+        path: '/var/www/html'
+        options:
+          - FollowSymLinks
+          - MultiViews
+        allow_override:
+          - All
+      - location1:
+        provider: location
+        path: '/'
+        require:
+          - 'ip 217.66.50.0/24'
+          - 'ip 217.66.51.0/24'
+          - 'ip 217.66.56.0/24'
+          - 'ip 77.74.234.0/25'