]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
Revert "fbb-web - try HTTP-to-HTTPS-redirect in NGINX"
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Wed, 20 Jun 2018 16:29:06 +0000 (18:29 +0200)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Wed, 20 Jun 2018 16:29:06 +0000 (18:29 +0200)
This reverts commit 41186d8829d1c203f599c3a0cf4492402bcf0040.

customer/fbb-web/test.yaml

index 3f66240b4fe7f9f0e2f910440ebc269dab4d8c62..cbd0f4927516d27de7adacbc29ad0e625ca823da 100644 (file)
@@ -158,8 +158,6 @@ infra::profile::nginx_php_fpm_server::vhosts:
         - '217.66.56.0/24'
         - '194.174.72.0/21'
       deny: 'all'
-    rewrite_rules:
-      - 'set $do_https_redirect = 0; if ($http_x_forwarded_proto != "https") { set $do_https_redirect = 1; } if ($host = "tst-roadmap.berlin-airport.de") { set $do_https_redirect "${do_https_redirect}1"; } if ($do_https_redirect = 11) { return 301 https://$host$request_uri permanent; }'
   tst-berhub-berlin-airport-de_ssl:
     ensure: present
     www_root: '/srv/www/tst-berhub-berlin-airport-de'