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