Search
Caddy with json config
caddy snippet by mkamner
Demonstration of tech-playground working with Caddy configuration as JSON as requested by the Caddy community
OpenSimple file based maintenance mode for nginx
nginx snippet by mkamner
Doing maintenance pages the way I do here means your web server is checking a file on disk for every request. In small deployments this is likely not adding any overhead you need to be concerned with, but keep it in mind.
OpenWorking simple rate limiting
nginx snippet by j3j5
This is the same approach as the 404 but rate limiting all connections in the `/` location which, unlike the 404 rate limiting, is working as expected.
OpenRate limiting 404
nginx snippet by j3j5
Try to get nginx to rate limit 404 errors and not being able.
Open