Single Page Application and BasicAuth

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 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 that doesn’t have basicauth, though.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.