fix logic

This commit is contained in:
Pau Capó 2024-06-22 18:08:58 +02:00 committed by GitHub
parent 54d6196d36
commit 81b7661849
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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";