1
0
Fork 0

nginx has a weird syntax

This commit is contained in:
saibotk 2019-07-29 03:17:20 +02:00
parent 589eee5026
commit 2e419d994c

View file

@ -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) {