mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
use client provided header to determine access protocol
This commit is contained in:
parent
d40f9e06fc
commit
bfd7fafa93
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user