Rednaxela
(Alexander)
1
Hi, All!
I have web-site(single page application) and i want to use basicauth.
If i write in CaddyFile :
basicauth user pass
I close everything.
But i don’t need to close my admin panel on page domain.com/admin by basicauth.
How i can exclude page /admin?
Hi @Rednaxela, welcome to the Caddy community.
There is no way to exclude a sub-path from a basicauth path.
You can configure another site in your Caddyfile for example.com/admin that doesn’t have basicauth, though.