Caddy: Custom Domains for SaaS

Building custom domains for your SaaS is not always easy, especially when certificates get involved. With Caddy it becomes very easy! On The Caddy Side { email dns@marco.ninja # Caddy asks this endpoint if it shall handle traffic for a domain on_demand_tls { ask https://backend.local/internal/custom-domain-check/ } } # Accept all domains that pass the ask endpoint https:// { tls { on_demand } handle /.well-known/health { respond "200 OK" 200 } reverse_proxy https://backend. [Read More]
caddy 

Caddy: Manual Maintenance Mode

Coming from NGINX and others the concept of a maintenance mode that can be manually enabled is something I have used many times before.

With Caddy it is equally as easy, just using a less obvious syntax.

[Read More]