For my own documentation website, I’m using Obsidian Publish. I like it because it’s just super easy to use. I go in my regular vault, modify stuff, hit a single button and done, it’s published.
There’s also the option to use a custom domain, however, Obsidian cannot manage it directly or get SSL certificates for you.
I use Caddy to reverse-proxy it:
https://docs.j4.lc {
encode zstd gzip
reverse_proxy https://publish.obsidian.md {
header_up Host {upstream_hostport}
header_up x-obsidian-custom-domain "docs.j4.lc"
}
}ZshThe only thing I really had to set was x-obsidian-custom-domain so Obsidian finds my site.
Of course, you’ll need to add your custom domain on the Obsidian side as well for this to work.
Leave a Reply