dns / dns (push) Successful in 4s
A rauthy service under the profile of the same name, its config here without secrets, and rauthy.env written by the deploy from Actions secrets. OIDC_ISSUER moves portal's and the chat's sign-in to it, RAUTHY_API_KEY lets portal make accounts there. konto.tomtervel.no in DNS and kasse's Caddy, beside id. Nothing runs until RAUTHY_HOST, the three secrets and the profile are set. Tried locally: the config starts, the issuer is https://<host>/auth/v1/, and a Norwegian browser gets the pages in nb. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
# 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
|
|
}
|
|
|
|
# Tomter Vel's own Kanidm. Caddy holds the public certificate; Kanidm
|
|
# speaks TLS internally with a self-signed one, on a loopback port, so
|
|
# that hop is not verified. The @brand files are the vel's: the name in
|
|
# the tab, the icons, and the stylesheet Kanidm serves empty for a site
|
|
# to fill (written by go-live.sh brand into /srv/tomtervel/brand).
|
|
id.tomtervel.no {
|
|
@brand path /pkg/override.css /manifest.webmanifest /pkg/img/favicon.png /pkg/img/logo.svg /pkg/img/logo-square.svg /pkg/img/logo-180.png /pkg/img/logo-192.png /pkg/img/logo-256.png /pkg/img/logo-512.png /pkg/img/kani-warning.svg /pkg/img/kani-waving.svg
|
|
handle @brand {
|
|
root * /srv/tomtervel/brand
|
|
uri strip_prefix /pkg/img
|
|
uri strip_prefix /pkg
|
|
header Cache-Control "public, max-age=3600"
|
|
@manifest path /manifest.webmanifest
|
|
header @manifest Content-Type application/manifest+json
|
|
file_server
|
|
}
|
|
handle {
|
|
reverse_proxy https://127.0.0.1:8443 {
|
|
transport http {
|
|
tls_insecure_skip_verify
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
chat.tomtervel.no {
|
|
reverse_proxy 127.0.0.1:3070
|
|
}
|
|
|
|
# Rauthy (compose profile `rauthy`): sign-in and account pages in
|
|
# Norwegian, beside Kanidm until the vel moves over (README.md, "Rauthy").
|
|
# Plain http on a loopback port; Caddy holds the certificate.
|
|
konto.tomtervel.no {
|
|
reverse_proxy 127.0.0.1:8090
|
|
}
|