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