feat: add tools section with MarkItDown, update Caddyfile for md subdomain

This commit is contained in:
2026-05-28 11:53:06 +00:00
parent 53e2e7a818
commit b7dc08dc2f
3 changed files with 132 additions and 21 deletions
+35 -21
View File
@@ -74,27 +74,6 @@ portainer.carloselugo.com {
}
}
# ── Umami Analytics ───────────────────────────────────────────────────────────
analytics.carloselugo.com {
import security_headers
encode gzip
log {
output file /var/log/caddy/analytics.log
format json
}
@public path /script.js /api/send
handle @public {
reverse_proxy umami:3000
}
handle {
@blocked not remote_ip 24.139.235.46/32 192.168.68.0/24 2605:ba00:3108::/48 74.115.203.2/32 165.225.192.0/18
abort @blocked
reverse_proxy umami:3000
}
}
# ── ntfy (notificaciones push) ────────────────────────────────────────────────
ntfy.carloselugo.com {
reverse_proxy ntfy:80 {
@@ -126,3 +105,38 @@ logs.carloselugo.com {
format json
}
}
# ── NI Quiz — evento público ───────────────────────────────────────────────────
ni-quiz.carloselugo.com {
import security_headers
reverse_proxy ni-quiz:8000 {
header_up Host {host}
header_up X-Real-IP {remote_host}
}
log {
output file /var/log/caddy/ni-quiz.log
format json
}
}
# ── MarkItDown ────────────────────────────────────────────────────────────────
md.carloselugo.com {
import security_headers
reverse_proxy markitdown:8000
log {
output file /var/log/caddy/markitdown.log
format json
}
}
# ── NI Quiz — evento público ───────────────────────────────────────────────────
route-rush.carloselugo.com {
import security_headers
reverse_proxy route-rush:8001 {
header_up Host {host}
header_up X-Real-IP {remote_host}
}
log {
output file /var/log/caddy/ni-quiz.log
format json
}
}