mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-10-05 04:10:10 +00:00
fix logic
This commit is contained in:
@@ -2,8 +2,8 @@ set $test "";
|
|||||||
if ($scheme = "http") {
|
if ($scheme = "http") {
|
||||||
set $test "H";
|
set $test "H";
|
||||||
}
|
}
|
||||||
if ($http_x_forwarded_proto = "http") {
|
if ($http_x_forwarded_proto = "https") {
|
||||||
set $test "H";
|
set $test "";
|
||||||
}
|
}
|
||||||
if ($request_uri = /.well-known/acme-challenge/test-challenge) {
|
if ($request_uri = /.well-known/acme-challenge/test-challenge) {
|
||||||
set $test "${test}T";
|
set $test "${test}T";
|
||||||
|
Reference in New Issue
Block a user