use client provided header to determine access protocol

This commit is contained in:
realies 2024-02-27 22:19:07 +00:00 committed by GitHub
parent d40f9e06fc
commit bfd7fafa93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,5 @@
set $test ""; set $test "";
if ($scheme = "http") { if ($http_x_forwarded_proto = "http") {
set $test "H"; set $test "H";
} }
if ($request_uri = /.well-known/acme-challenge/test-challenge) { if ($request_uri = /.well-known/acme-challenge/test-challenge) {