From: Thomas Dalichow Date: Thu, 21 Jun 2018 13:36:04 +0000 (+0200) Subject: fbb-web - try HTTP-to-HTTPS-redirect in NGINX X-Git-Tag: v0.1.0~756 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=a55c2c10e318a75ba36cd18414e08d1d839d27d4;p=pixelpark%2Fhiera.git fbb-web - try HTTP-to-HTTPS-redirect in NGINX --- 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'