Closed Monviech closed 7 months ago
I need basic auth for one or two things I do, so I'm adding it as functionality.
https://caddyserver.com/docs/caddyfile/directives/basicauth
It's very simple, just a list of users where multiple can be selected per domain or subdomain. Access will the be restricted to those users.
Basic Auth will match AFTER access lists.
Here is the package for testing if anybody wants to. I won't push this yet, needs some more testing. So far it seems to work for me.
https://github.com/Monviech/os-caddy-plugin/blob/basicauth/os-caddy-plugin/FreeBSD%3A13%3Aamd64/os-caddy-1.4.1.pkg
I need basic auth for one or two things I do, so I'm adding it as functionality.
https://caddyserver.com/docs/caddyfile/directives/basicauth
It's very simple, just a list of users where multiple can be selected per domain or subdomain. Access will the be restricted to those users.
Basic Auth will match AFTER access lists.