mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-04-28 18:12:27 +00:00
force-ssl behind another proxy using http_x_forwarded_proto
This commit is contained in:
parent
d3a654b546
commit
1a12f7f3a8
@ -2,6 +2,9 @@ set $test "";
|
||||
if ($scheme = "http") {
|
||||
set $test "H";
|
||||
}
|
||||
if ($http_x_forwarded_proto = "http") {
|
||||
set $test "H";
|
||||
}
|
||||
if ($request_uri = /.well-known/acme-challenge/test-challenge) {
|
||||
set $test "${test}T";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user