fix http challenge
This commit is contained in:
parent
3d7877a4a0
commit
aa01a85550
1 changed files with 3 additions and 3 deletions
|
@ -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/;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue