From ea5dbb47f95407b4a87ed9ac5ae53aa5eda6c256 Mon Sep 17 00:00:00 2001 From: sambufe Date: Thu, 27 Jul 2017 16:03:42 +0200 Subject: [PATCH] BERFBB-3340 added real_ip setting on tst --- customer/fbb-web/test.yaml | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/customer/fbb-web/test.yaml b/customer/fbb-web/test.yaml index f34598c5..204f05d5 100644 --- a/customer/fbb-web/test.yaml +++ b/customer/fbb-web/test.yaml @@ -256,15 +256,27 @@ infra::profile::nginx_php_fpm_server::vhosts: # - '/wp-admin$ $scheme://$host$uri/ permanent' # - '/files/$ /index.php last' #BERFBB-3340 + location_raw_prepend: + - 'set_real_ip_from 93.188.107.121;' + - 'set_real_ip_from 93.188.107.121;' + - 'real_ip_header X-Forwarded-For;' + - 'real_ip_recursive on;' location_allow: - - '172.16.0.11/21' + # SXF/BER IP's: + # DHCP-Subnet + - '172.16.0.0/21' + # reserved range - '172.16.8.0/21' + # TXL IP's: + # DHCP-Subnets - '172.32.0.0/15' - '172.34.0.0/15' - '172.36.0.0/15' - '172.38.0.0/16' - '172.39.0.0/21' - - '172.16.40.0/19' + # reserved range + - '172.16.32.0/19' + # pixelpark IP's - '217.66.49.0/24' - '217.66.50.0/24' - '217.66.51.0/24' @@ -306,15 +318,27 @@ infra::profile::nginx_php_fpm_server::vhosts: # - '/wp-admin$ $scheme://$host$uri/ permanent' # - '/files/$ /index.php last' #BERFBB-3340 + location_raw_prepend: + - 'set_real_ip_from 93.188.107.121;' + - 'set_real_ip_from 93.188.107.121;' + - 'real_ip_header X-Forwarded-For;' + - 'real_ip_recursive on;' location_allow: - - '172.16.0.11/21' + # SXF/BER IP's: + # DHCP-Subnet + - '172.16.0.0/21' + # reserved range - '172.16.8.0/21' + # TXL IP's: + # DHCP-Subnets - '172.32.0.0/15' - '172.34.0.0/15' - '172.36.0.0/15' - '172.38.0.0/16' - '172.39.0.0/21' - - '172.16.40.0/19' + # reserved range + - '172.16.32.0/19' + # pixelpark IP's - '217.66.49.0/24' - '217.66.50.0/24' - '217.66.51.0/24' -- 2.39.5