nginx has a weird syntax
This commit is contained in:
parent
589eee5026
commit
2e419d994c
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue