nginx module: turn off basic auth on acme locations
This commit is contained in:
parent
4e5c7913e9
commit
e18f8e8b66
1 changed files with 2 additions and 0 deletions
|
@ -82,8 +82,10 @@ let
|
|||
location /.well-known/acme-challenge {
|
||||
try_files $uri @acme-fallback;
|
||||
root ${vhost.acmeRoot};
|
||||
auth_basic off;
|
||||
}
|
||||
location @acme-fallback {
|
||||
auth_basic off;
|
||||
proxy_pass http://${vhost.acmeFallbackHost};
|
||||
}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue