From: Thomas Dalichow Date: Thu, 2 Aug 2018 12:45:44 +0000 (+0200) Subject: fbb-api - modify HTTP auth, add ip requirement and enforce IP+user/pass, see FBBPSCDM-95 X-Git-Tag: v0.1.0~452^2~6 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=5c08b087e18608f35ae015a160a22f1ed38b6e9e;p=pixelpark%2Fhiera.git fbb-api - modify HTTP auth, add ip requirement and enforce IP+user/pass, see FBBPSCDM-95 --- diff --git a/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml b/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml index 67107c98..40704e64 100644 --- a/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml +++ b/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml @@ -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' diff --git a/customer/fbb-api/tst-api02-fbb.pixelpark.net.yaml b/customer/fbb-api/tst-api02-fbb.pixelpark.net.yaml index 5b8e0629..2aa85f2f 100644 --- a/customer/fbb-api/tst-api02-fbb.pixelpark.net.yaml +++ b/customer/fbb-api/tst-api02-fbb.pixelpark.net.yaml @@ -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'