feat: add tools section with MarkItDown, update Caddyfile for md subdomain
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user