From 2e419d994c1a0f12eabbd720b9d4ca832fb48406 Mon Sep 17 00:00:00 2001 From: saibotk Date: Mon, 29 Jul 2019 03:17:20 +0200 Subject: [PATCH] nginx has a weird syntax --- services/http/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/http/nginx.conf b/services/http/nginx.conf index 8d95fa7..d73bc1b 100644 --- a/services/http/nginx.conf +++ b/services/http/nginx.conf @@ -41,7 +41,7 @@ http { if ($http_x_forwarded_proto != "https") { set $shouldRedirectToHTTPS 1; } - if ($http_x_forwarded_proto == false) { + if ($http_x_forwarded_proto = false) { set $shouldRedirectToHTTPS 0; } if ($shouldRedirectToHTTPS = 1) {