.htaccess implementation for user/password accessible folder?


(caffeine) #1

What is needed to run caddy with an htaccessfile to allow access to a folder http://example.com/restricted with username and password?
How do i place this part in my Caddyfile?

Edit: found out that is actually quiet easy and straight forward:
https://caddyserver.com/docs/basicauth