From: Philipp Dallig Date: Thu, 10 Aug 2017 11:18:01 +0000 (+0200) Subject: fbb-web - real_ip_header into nginx.conf X-Git-Tag: v0.1.0~2645^2~4 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=02672d99676820c4e81da5cdba71c31da17c9d6d;p=pixelpark%2Fhiera.git fbb-web - real_ip_header into nginx.conf --- diff --git a/customer/fbb-web/test.yaml b/customer/fbb-web/test.yaml index 0bc1a7a4..fe8d16cf 100644 --- a/customer/fbb-web/test.yaml +++ b/customer/fbb-web/test.yaml @@ -96,6 +96,7 @@ infra::profile::nginx_php_fpm_server::upstream: - 'localhost:9000' nginx::config::http_cfg_append: + #BERFBB-3340 set_real_ip_from: - '93.188.107.121' - '93.188.107.122' @@ -261,11 +262,6 @@ infra::profile::nginx_php_fpm_server::vhosts: - '^$|^/$ txl/ permanent' # - '/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.122;' - - 'real_ip_header X-Forwarded-For;' location_allow: # SXF/BER IP's: # DHCP-Subnet @@ -322,11 +318,6 @@ infra::profile::nginx_php_fpm_server::vhosts: - '^([^.]*[^/])$ https://tst-wifi-berlin-airport-de.pixelpark.net$1/ permanent' # - '/wp-admin$ $scheme://$host$uri/ permanent' # - '/files/$ /index.php last' - #BERFBB-3340 - raw_prepend: - - 'set_real_ip_from 93.188.107.121;' - - 'set_real_ip_from 93.188.107.122;' - - 'real_ip_header X-Forwarded-For;' location_allow: # SXF/BER IP's: # DHCP-Subnet