mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-02-04 09:52:52 +00:00
Compare commits
2 Commits
57623191f6
...
7b9b952a7b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7b9b952a7b | ||
|
|
534afe6067 |
@@ -5,6 +5,9 @@ if ($scheme = "http") {
|
||||
if ($request_uri = /.well-known/acme-challenge/test-challenge) {
|
||||
set $test "${test}T";
|
||||
}
|
||||
if ($http_x_forwarded_proto = "https") {
|
||||
set $test "${test}S";
|
||||
}
|
||||
if ($test = H) {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user