From a0d6f62fdc222cb6d07a6505709dae9927246330 Mon Sep 17 00:00:00 2001 From: Thomas Dalichow Date: Wed, 20 Jun 2018 12:28:53 +0200 Subject: [PATCH] fbb-api - allow api access from specific IPs --- customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml b/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml index 5eb332a0..14f2d5ad 100644 --- a/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml +++ b/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml @@ -42,7 +42,13 @@ infra::profile::apache::pp_vhosts: auth_digest_provider: file auth_digest_algorithm: MD5 auth_user_file: '/etc/httpd/htdigest' - auth_require: 'valid-user' + require: + requires: + - 'valid-user' + # BERFBB-4676 + - 'ip 217.66.48.0/20 10.90.13.0/24 10.90.14.0/24 194.174.72.0/21 194.115.26.6' + enforce: any + rewrites: - alias: comment: 'Alles auf https umleiten' -- 2.39.5