Initial commit
Some checks failed
CI / test (push) Failing after 11s
CI / image (push) Has been skipped

This commit is contained in:
2026-08-01 21:03:35 -04:00
commit 8b5cd370ea
41 changed files with 5462 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# Reference config for the CENTRAL REVERSE PROXY MACHINE — not for this host.
# This stack publishes plain HTTP on <notes-host>:5233; TLS terminates here.
#
# Replace notes-host.lan with the LAN address of the machine running the
# markdown-to-caldav stack.
# --- Option A: its own hostname ---------------------------------------------
notes.example.com {
encode zstd gzip
reverse_proxy notes-host.lan:5233
}
# --- Option B: share a hostname with an existing Radicale -------------------
#
# `handle` (not `handle_path`) keeps the /notes prefix in the request: Radicale
# strips script_name itself and re-adds it when generating hrefs. Stripping at
# the proxy instead yields hrefs missing the prefix, and clients then walk to
# collection URLs that do not exist.
#
# dav.example.com {
# handle /notes/* {
# reverse_proxy notes-host.lan:5233 {
# header_up X-Script-Name /notes
# }
# }
# handle {
# reverse_proxy existing-radicale.lan:5232
# }
# }