Update force-ssl.conf

Re-do PR #3121 on latest development branch.
This commit is contained in:
EDIflyer 2024-11-07 16:45:51 +00:00 committed by GitHub
parent 25a26d6175
commit a1408e2c84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@ set $test "";
if ($scheme = "http") {
set $test "H";
}
if ($request_uri = /.well-known/acme-challenge/test-challenge) {
if ($request_uri ~ "^\/\.well-known\/acme-challenge\/(.*)") {
set $test "${test}T";
}
if ($test = H) {