1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

nginx module: turn off basic auth on acme locations

This commit is contained in:
Robin Gloster 2016-03-25 00:58:45 +00:00
parent 4e5c7913e9
commit e18f8e8b66

View file

@ -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};
}
'';