1. The problem I’m having:
I’d like to protect an endpoint with basic auth, but also be able to create/delete/edit basic auth users without having to change the Caddyfile.
The best would be to be able to do it via a web interface (without having to connect to the server in ssh and make terminal commands or modify a file)
Do you have any idea how I could do this?
Thank you !
Caddy has an API you can use to change its configuration dynamically: API — Caddy Documentation
Just wire it up to a simple front-end that lets you manage basic auth users. Done!
I’d suggest using something like https://www.authelia.com/ instead. It integrates well with Caddy with the
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.