]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
fbb-web - real_ip_header into nginx.conf
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Thu, 10 Aug 2017 11:18:01 +0000 (13:18 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Thu, 10 Aug 2017 11:18:01 +0000 (13:18 +0200)
customer/fbb-web/test.yaml

index 0bc1a7a4d2f4d7c3e27cb5e16b930e8862e4dea2..fe8d16cfe21bbf533518598cdabc8212bf560aec 100644 (file)
@@ -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