]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
fbb-web - try HTTP-to-HTTPS-redirect in NGINX
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Thu, 21 Jun 2018 13:38:07 +0000 (15:38 +0200)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Thu, 21 Jun 2018 13:38:07 +0000 (15:38 +0200)
customer/fbb-web/test.yaml

index 318cf3ea9cfe4528cdcf76dfc17151a244783995..73bf00cd74e0058a608608b4081ef8466f748ca4 100644 (file)
@@ -148,7 +148,7 @@ infra::profile::nginx_php_fpm_server::vhosts:
       - '%uri/'
       - '/index.php?$args'
     autoindex: 'on'
-    raw_append:
+    raw_prepend:
       - 'if ($http_x_forwarded_proto != "https") { return 301 https://$host$request_uri; }'
     vhost_cfg_prepend:
       satisfy: 'any'