mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-07 01:43:33 +00:00
use client provided header to determine access protocol
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user