3 ms·
It is even easier with Caddy's `respond` directive[0], placeholders[1], and automatic HTTPS. Caddyfile: example.com { respond "{remote_host}" } [0]
by 0xbkt 6y ago
It is even easier with Caddy's `respond` directive[0], placeholders[1], and automatic HTTPS.
Caddyfile:
example.com {
respond "{remote_host}"
}
[0] https://caddyserver.com/docs/caddyfile/directives/respond https://caddyserver.com/docs/caddyfile/directives/respond
[1] https://caddyserver.com/docs/caddyfile/concepts#placeholders https://caddyserver.com/docs/caddyfile/concepts#placeholders
- BrandoElFollito 6y agoOne more reason to love that extraordinary web server. It is really wonderful, sad that it is not more used. I work in IT (was a sysadmin for years, still administer my own servers) and I hated the configuration of the web servers (first Apache, then nginx) - mostly because I was too lazy to read the docs from beginning to end. This changed with caddy. It is simple, fast, reliable, HTTPS first with LE. Great.