From 6e3c6e28141813b168ad47cd826ead762c7bda0a Mon Sep 17 00:00:00 2001 From: Thomas Dalichow Date: Fri, 17 Aug 2018 14:59:18 +0200 Subject: [PATCH] fbb-api - add IP limition for /version.json --- customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml | 5 +++++ customer/fbb-api/tst-api02-fbb.pixelpark.net.yaml | 5 +++++ 2 files changed, 10 insertions(+) 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' -- 2.39.5