3 ms·
When you have a site with a fixed, tiny amount of users, I'd opt for HTTP basic auth (via HTTPS). Whether you're using nginx, Traefik, Caddy, etc..., it's very
by S04dKHzrKT 2y ago
When you have a site with a fixed, tiny amount of users, I'd opt for HTTP basic auth (via HTTPS). Whether you're using nginx, Traefik, Caddy, etc..., it's very easy to setup. If you're using something like Cloudflare Pages, I would guess you could setup a worker to handle it for you (though I'm not familiar enough with workers to be sure).
- Normal_gaussian 2y agoYou're right; its easy enough with Cloudflare Workers. They have a sample that is pretty decent: https://developers.cloudflare.com/workers/examples/basic-auth/ https://developers.cloudflare.com/workers/examples/basic-aut...