mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
fix regex as per @lbogdan in https://github.com/NginxProxyManager/nginx-proxy-manager/pull/3121#discussion_r1621959578
This commit is contained in:
parent
013310ded0
commit
2e528348b7
@ -5,7 +5,7 @@ set $FORCE "";
|
|||||||
if ($scheme = "http") {
|
if ($scheme = "http") {
|
||||||
set $FORCE 'H';
|
set $FORCE 'H';
|
||||||
}
|
}
|
||||||
if ($request_uri !~ "^\/.well-known\/acme-challenge\/(.*)") {
|
if ($request_uri !~ "^\/\.well-known\/acme-challenge\/(.*)") {
|
||||||
set $FORCE "${FORCE}D";
|
set $FORCE "${FORCE}D";
|
||||||
}
|
}
|
||||||
# If we are http and outside the LetsEncrypt directories redirect to https via 301
|
# If we are http and outside the LetsEncrypt directories redirect to https via 301
|
||||||
|
Loading…
Reference in New Issue
Block a user