π Summary
Today was all about tightening up my Quartz publishing pipeline: fixed subdomain routing, smoothed out symlink issues with Synology, and took steps toward splitting my Obsidian vault into public vs. private notes.
π§ What I Worked On
π§ Subdomain Routing Fixes
I wanted journal.argobox.com, notes.argobox.com, and blog.argobox.com to all serve the same Quartz site but land users in the right spot.
- NGINX now routes all subdomains to the shared Quartz output directory
- Used conditional redirects inside
index.mdto routejournal.argobox.comto/Journal/ - Set
baseUrl: "https://journal.argobox.com"inquartz.config.tsto make theme assets load properly across subdomains
π§ Public vs. Private Vault Design
Iβve been wrestling with how to expose some of my notes (like Cheat Sheets) to Quartz while keeping others private.
Tried symlinks and bind mounts from my Synology drive β but ran into issues:
- SMB mounts donβt support symlinks well
- Obsidian often ignores bind-mounted folders
- Quartz doesnβt always follow symlinks depending on build context
π§Ό The Fix: Just Split the Vault
Instead of fighting this, Iβm now moving to a dual-vault setup:
/mnt/synology/obsidian/
βββ Public/
β βββ Notes/
β βββ Journal/
β βββ Blog/
βββ Private/
βββ Personal/
βββ Work/
Then I pointed Quartz to obsidian/Public/, and it βjust works.β No mounts, no duplication, no sketchy hacks.
π Auto-Updater Watchdog
Also debugged why the site wasnβt rebuilding when files changed. Turns out rsync/cloud sync tools preserve timestamps, so the find -newer logic in my watcher wasnβt detecting updates.
Workaround for now: touch the files manually to update mod times. Might switch to inotifywait for real-time change detection later.
π‘ Takeaways & Thoughts
- Trying to fake a proper public/private split using symlinks is more painful than itβs worth.
- Quartz is opinionated about
baseUrland will break silently if you leave it blank or point it at a mismatched domain. - Static site rebuilds can race ahead of NGINX startup β wait a few seconds before testing after a pod restart.
- A clean folder structure with a dedicated βpublic vaultβ is worth it. The mental clarity alone is valuable.
π Links & References
- Quartz Docs
- [[Quartz