mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
nginx module: turn off basic auth on acme locations
This commit is contained in:
parent
4e5c7913e9
commit
e18f8e8b66
|
@ -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