From a55c2c10e318a75ba36cd18414e08d1d839d27d4 Mon Sep 17 00:00:00 2001 From: Thomas Dalichow Date: Thu, 21 Jun 2018 15:36:04 +0200 Subject: [PATCH] fbb-web - try HTTP-to-HTTPS-redirect in NGINX --- customer/fbb-web/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customer/fbb-web/test.yaml b/customer/fbb-web/test.yaml index d5275008..318cf3ea 100644 --- a/customer/fbb-web/test.yaml +++ b/customer/fbb-web/test.yaml @@ -148,7 +148,7 @@ infra::profile::nginx_php_fpm_server::vhosts: - '%uri/' - '/index.php?$args' autoindex: 'on' - vhost_raw_prepend: + raw_append: - 'if ($http_x_forwarded_proto != "https") { return 301 https://$host$request_uri; }' vhost_cfg_prepend: satisfy: 'any' -- 2.39.5