Skip to content

Nginx - Allow certbot acme challenge on auth_basic protected websites

The certbot http challenge fails on nginx websites protected by auth_basic (purpose is to protect admin panels, phpmyadmin, etc).

I'd like to add

auth_basic off;

to the : nginx vhost template

I don't see any particular cases where this could be an issue, posting here in case someone identifies one.

Thanks in advance for your feedback.