Kanidm ut av stacken, bootstrap.sh, kanidm-setup.sh og kanidm/ borte. Rauthy er en vanlig tjeneste, ikke en profil, og deployen krever dens verdier i stedet for ID_HOST og KANIDM_API_TOKEN. Portalen får ingen KANIDM_* lenger, så kontoene lages i Rauthy. id.tomtervel.no sender videre til konto. Volumet kanidm_data blir liggende på kasse urørt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L5fbDmSQSb6u27EiEuwzoM
This commit is contained in:
11 files changed
+121
-576
No files matched your search
+4
-25
@@ -12,29 +12,9 @@ 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).
|
||||
# The old login, Kanidm, is gone: its name sends people on to Rauthy.
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
redir https://konto.tomtervel.no permanent
|
||||
}
|
||||
|
||||
# The vel's conversations (cnats). Its old name sends people on, so a
|
||||
@@ -47,9 +27,8 @@ chat.tomtervel.no {
|
||||
redir https://samtaler.tomtervel.no{uri} permanent
|
||||
}
|
||||
|
||||
# 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.
|
||||
# Rauthy: sign-in, passkeys and account pages, in Norwegian (README.md,
|
||||
# "Rauthy"). Plain http on a loopback port; Caddy holds the certificate.
|
||||
konto.tomtervel.no {
|
||||
reverse_proxy 127.0.0.1:8090
|
||||
}
|
||||
Reference in new issue
Block a user