Skip to content

Instantly share code, notes, and snippets.

# *.home.mydomain.name is configured as a catchall CNAME in my DNS provider to point to the Caddy box.
# That way, everything needed to add a new subdomain/service is adding it in this file and reloading Caddy.
...
project-1.home.mydomain.name {
respond "This will be provided as a static HTTP response"
}
project-2.home.mydomain.name {
# HTTP basic authentication. Static hosted content served directly by Caddy.
### Keybase proof
I hereby claim:
* I am lxgr on github.
* I am lxgr (https://keybase.io/lxgr) on keybase.
* I have a public key ASC-EO0RFQu_nV2h0S0WpnaZYYpRkUqH6Gsj7JDIitHaqwo
To claim this, I am signing this object: