nginx module: turn off basic auth on acme locations

This commit is contained in:
Robin Gloster
2016-07-28 11:59:13 +00:00
parent 4e5c7913e9
commit e18f8e8b66
@@ -82,8 +82,10 @@ let
location /.well-known/acme-challenge { location /.well-known/acme-challenge {
try_files $uri @acme-fallback; try_files $uri @acme-fallback;
root ${vhost.acmeRoot}; root ${vhost.acmeRoot};
auth_basic off;
} }
location @acme-fallback { location @acme-fallback {
auth_basic off;
proxy_pass http://${vhost.acmeFallbackHost}; proxy_pass http://${vhost.acmeFallbackHost};
} }
''; '';