Some checks failed
ci/woodpecker/push/default Pipeline failed
Viktor asked to tighten who can see the immich-frame deployments: make them not public while keeping the two Meta Portals working as frames. The Portal app bakes the URL into the APK, so the same hostnames must keep loading from the home networks with zero device or router changes. - New shared Traefik middleware home-lans-only (Sofia/London/Valchedrym LANs + 10/8 + internal v6) — separate from local-only so the remote LANs don't inherit access to admin surfaces. - New ingress_factory dns_type="internal": publicly-resolvable A record carrying the internal Traefik LB IP (10.0.20.203). Outsiders resolve but can't route; WG spokes policy-route 10/8 down the tunnel. Never combine the allowlist with proxied DNS (cloudflared pod IPs are in 10/8 and would bypass it). - Both frame ingresses: dns_type internal + allowlist attached + external_monitor=false (drop the doomed [External] monitors). - rybbit worker: highlights-immich route/site removed (off Cloudflare). - Docs: CLAUDE.md/AGENTS.md ingress tiers, networking.md DNS categories, design doc docs/plans/2026-07-04-immich-frame-lan-only-design.md. Pre-verified: London router DNS returns RFC1918 answers unfiltered; Technitium already CNAMEs both hosts to the LB; no public wildcard. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
43 lines
3 KiB
TOML
43 lines
3 KiB
TOML
name = "rybbit-analytics"
|
|
main = "index.js"
|
|
compatibility_date = "2024-01-01"
|
|
|
|
# Explicit per-host routes. Replaces the previous wildcard routes which hit all
|
|
# ~119 proxied *.viktorbarzin.me hosts and burned the Workers free-tier quota
|
|
# (100k/day). Only hostnames present in SITE_IDS (index.js) get a route; all
|
|
# other proxied hosts bypass the Worker entirely.
|
|
#
|
|
# rybbit.viktorbarzin.me is INTENTIONALLY EXCLUDED even though it has a site ID
|
|
# in index.js — it serves the tracker JS (/api/script.js) and event POSTs
|
|
# (/api/track), which are JSON/JS not HTML, so the content-type guard in
|
|
# index.js would no-op anyway. Leaving it routed would make every Rybbit event
|
|
# spawn a Worker invocation for no value (self-amplification).
|
|
#
|
|
# When adding a new site to SITE_IDS in index.js, also add its route here.
|
|
routes = [
|
|
{ pattern = "viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "www.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "actualbudget.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "crowdsec.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "cyberchef.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "dawarich.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "pma.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "pgadmin.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "audiobookshelf.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "calibre.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "stacks.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "f1.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "frigate.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "immich.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "mail.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "navidrome.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "networking-toolbox.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "nextcloud.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "paperless-ngx.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "privatebin.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "wrongmove.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "send.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "stirling-pdf.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "uptime-kuma.viktorbarzin.me/*", zone_name = "viktorbarzin.me" },
|
|
{ pattern = "vaultwarden.viktorbarzin.me/*", zone_name = "viktorbarzin.me" }
|
|
]
|