2026-11-07 16:59:00 +01:00
|
|
|
# kasse's host Caddy: /etc/caddy/conf.d/tomtervel.no. The vel's own
|
|
|
|
|
# names, in dns/dnsconfig.js, pointing here unproxied; Caddy gets their
|
|
|
|
|
# certificates itself as soon as the records point here. The same as the
|
|
|
|
|
# vel.klingenbergbygg.no blocks beside it, which stay until the move is
|
|
|
|
|
# done.
|
|
|
|
|
|
|
|
|
|
tomtervel.no {
|
|
|
|
|
reverse_proxy 127.0.0.1:3050
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
www.tomtervel.no {
|
|
|
|
|
redir https://tomtervel.no{uri} permanent
|
|
|
|
|
}
|
|
|
|
|
|
2026-11-08 13:32:28 +01:00
|
|
|
# The old login, Kanidm, is gone: its name sends people on to Rauthy.
|
2026-11-07 16:59:00 +01:00
|
|
|
id.tomtervel.no {
|
2026-11-08 13:32:28 +01:00
|
|
|
redir https://konto.tomtervel.no permanent
|
2026-11-07 16:59:00 +01:00
|
|
|
}
|
|
|
|
|
|
2026-11-08 13:21:27 +01:00
|
|
|
# The vel's conversations (cnats). Its old name sends people on, so a
|
|
|
|
|
# link or a bookmark from before still lands.
|
|
|
|
|
samtaler.tomtervel.no {
|
2026-11-07 16:59:00 +01:00
|
|
|
reverse_proxy 127.0.0.1:3070
|
|
|
|
|
}
|
2026-11-07 22:33:46 +01:00
|
|
|
|
2026-11-08 13:21:27 +01:00
|
|
|
chat.tomtervel.no {
|
|
|
|
|
redir https://samtaler.tomtervel.no{uri} permanent
|
|
|
|
|
}
|
|
|
|
|
|
2026-11-08 13:32:28 +01:00
|
|
|
# Rauthy: sign-in, passkeys and account pages, in Norwegian (README.md,
|
|
|
|
|
# "Rauthy"). Plain http on a loopback port; Caddy holds the certificate.
|
2026-11-07 22:33:46 +01:00
|
|
|
konto.tomtervel.no {
|
|
|
|
|
reverse_proxy 127.0.0.1:8090
|
|
|
|
|
}
|
2026-11-08 15:52:45 +01:00
|
|
|
|
2026-11-10 08:58:30 +01:00
|
|
|
# The content repo's previews (tomtervel/questions, .gitea/preview/): one
|
|
|
|
|
# portal per branch on <branch>.forhandsvisning.tomtervel.no, for five days
|
|
|
|
|
# after its last push, and the list of them on the bare name. Every name
|
|
|
|
|
# goes to the previews' own router on 3066, which picks the branch's
|
|
|
|
|
# container by name. Kept out of search engines.
|
|
|
|
|
#
|
|
|
|
|
# A branch's name has no certificate until someone opens it: Caddy gets one
|
|
|
|
|
# on demand, and first asks the router whether that name has a preview, so
|
|
|
|
|
# made-up names cannot use up Let's Encrypt's limits. That needs this in the
|
|
|
|
|
# global options of /etc/caddy/Caddyfile (kasse's, shared with the other
|
|
|
|
|
# sites there; nothing else on kasse uses on-demand TLS):
|
|
|
|
|
#
|
|
|
|
|
# on_demand_tls {
|
|
|
|
|
# ask http://127.0.0.1:3066/ask
|
|
|
|
|
# }
|
|
|
|
|
#
|
|
|
|
|
# Port 3066: 3060 is gullberg.klingenbergbygg.no's, 3065 was the single
|
|
|
|
|
# preview before, and podman's own published ports (3050, 3065, 3066, 3070,
|
|
|
|
|
# 8090) do not show in `ss`, so a port is chosen against this directory's
|
|
|
|
|
# upstreams as well.
|
2026-11-08 15:52:45 +01:00
|
|
|
forhandsvisning.tomtervel.no {
|
|
|
|
|
header X-Robots-Tag "noindex, nofollow"
|
2026-11-10 08:58:30 +01:00
|
|
|
reverse_proxy 127.0.0.1:3066
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
*.forhandsvisning.tomtervel.no {
|
|
|
|
|
tls {
|
|
|
|
|
on_demand
|
|
|
|
|
}
|
|
|
|
|
header X-Robots-Tag "noindex, nofollow"
|
|
|
|
|
reverse_proxy 127.0.0.1:3066
|
2026-11-08 15:52:45 +01:00
|
|
|
}
|