]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
fbb-api - modify HTTP auth, add ip requirement and enforce IP+user/pass, see FBBPSCDM-95
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Thu, 2 Aug 2018 12:45:44 +0000 (14:45 +0200)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Thu, 2 Aug 2018 12:45:44 +0000 (14:45 +0200)
customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml
customer/fbb-api/tst-api02-fbb.pixelpark.net.yaml

index 67107c989df9c6bb5ccb6f9c6de06c43c4f327df..40704e64665a6b138c85f9528df04e5885a34555 100644 (file)
@@ -66,8 +66,8 @@ infra::profile::apache::pp_vhosts:
         require:
           requires:
             - 'user hh-push'
-#            - 'ip 10.5.13.142'
-          enforce: any
+            - 'ip 10.5.13.142'
+          enforce: all
       - location2:
         provider: location
         path: '/api/v1/cdm-ham/notification-handler'
@@ -79,8 +79,8 @@ infra::profile::apache::pp_vhosts:
         require:
           requires:
             - 'user hh-push'
-#            - 'ip 10.5.13.142'
-          enforce: any
+            - 'ip 10.5.13.142'
+          enforce: all
     setenv:
       - 'DB_CONNECTION mysql'
       - 'DB_HOST tst-db-fbb.pixelpark.net'
index 5b8e0629dc91f8500b58868f1d91c41c6eac56a9..2aa85f2f99fcba5115479df6d7b2082fc08653d1 100644 (file)
@@ -57,8 +57,8 @@ infra::profile::apache::pp_vhosts:
         require:
           requires:
             - 'user hh-push'
-#            - 'ip 10.5.13.142'
-          enforce: any
+            - 'ip 10.5.13.142'
+          enforce: all
       - location2:
         provider: location
         path: '/api/v1/cdm-ham/notification-handler'
@@ -70,8 +70,8 @@ infra::profile::apache::pp_vhosts:
         require:
           requires:
             - 'user hh-push'
-#            - 'ip 10.5.13.142'
-          enforce: any
+            - 'ip 10.5.13.142'
+          enforce: all
     setenv:
       - 'DB_CONNECTION mysql'
       - 'DB_HOST tst-db-fbb.pixelpark.net'