fix http challenge

This commit is contained in:
Zoey
2024-01-12 17:35:34 +01:00
parent 3d7877a4a0
commit aa01a85550

View File

@@ -1,8 +1,8 @@
location ^~ /.well-known/acme-challenge/ {
location /.well-known/acme-challenge/ {
auth_basic off;
auth_request off;
allow all;
root /tmp/acme-challenge;
alias /tmp/acme-challenge/;
}
location = /.well-known/acme-challenge/ {
@@ -13,6 +13,6 @@ location = /nftd {
return 301 /nftd/;
}
location ^~ /nftd/ {
location /nftd/ {
alias /nftd/;
}