mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
fix logic
This commit is contained in:
parent
54d6196d36
commit
81b7661849
@ -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 New Issue
Block a user