From: Thomas Dalichow Date: Fri, 17 Aug 2018 12:59:18 +0000 (+0200) Subject: fbb-api - add IP limition for /version.json X-Git-Tag: v0.1.0~389 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=6e3c6e28141813b168ad47cd826ead762c7bda0a;p=pixelpark%2Fhiera.git fbb-api - add IP limition for /version.json --- diff --git a/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml b/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml index c1c35dfa..42046c56 100644 --- a/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml +++ b/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml @@ -94,3 +94,8 @@ infra::profile::apache::pp_vhosts: auth_user_file: '/etc/httpd/htdigest' require: - 'user healthcheck' + - location5: + provider: location + path: '/version.json' + require: + - 'ip 217.66.51.0/24 10.90.14.0/24 10.99.1.0/24 10.90.13.0/24 10.204.0.0/16 81.200.176.11 81.200.176.12 81.200.176.13 81.200.176.14 213.61.241.82' diff --git a/customer/fbb-api/tst-api02-fbb.pixelpark.net.yaml b/customer/fbb-api/tst-api02-fbb.pixelpark.net.yaml index 75c1555d..851ddee3 100644 --- a/customer/fbb-api/tst-api02-fbb.pixelpark.net.yaml +++ b/customer/fbb-api/tst-api02-fbb.pixelpark.net.yaml @@ -77,3 +77,8 @@ infra::profile::apache::pp_vhosts: auth_user_file: '/etc/httpd/htdigest' require: - 'user healthcheck' + - location5: + provider: location + path: '/version.json' + require: + - 'ip 217.66.51.0/24 10.90.14.0/24 10.99.1.0/24 10.90.13.0/24 10.204.0.0/16 81.200.176.11 81.200.176.12 81.200.176.13 81.200.176.14 213.61.241.82'