fix logic
This commit is contained in:
parent
54d6196d36
commit
81b7661849
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@ set $test "";
|
|||
if ($scheme = "http") {
|
||||
set $test "H";
|
||||
}
|
||||
if ($http_x_forwarded_proto = "http") {
|
||||
set $test "H";
|
||||
if ($http_x_forwarded_proto = "https") {
|
||||
set $test "";
|
||||
}
|
||||
if ($request_uri = /.well-known/acme-challenge/test-challenge) {
|
||||
set $test "${test}T";
|
||||
|
|
Loading…
Reference in a new issue