koopa-admin-log/configs/taler-ops-ng/deploy/Caddyfile.snippet
Hernâni Marques f821dc0eb4
feat(tops): Taler Operations design previews (ng1–ng3)
Static previews on ports 9090–9092: DD 90 branding (Montserrat,
#0042B3, logo), FINMA sticky, no taler-ops-www build. ng1 landing,
ng2 step/amount sliders + tabs, ng3 classic mirror. Podman nginx,
bin/up.sh, Caddy snippet, /CHANGES notes for current site only.
2026-07-10 17:36:51 +02:00

36 lines
1 KiB
Text

# Paste into host Caddyfile (/etc/caddy/Caddyfile) and reload Caddy.
# Ports: 9090 ng1 | 9091 ng2 | 9092 ng3
# DNS: tops.ng{1,2,3}.hacktivism.ch → koopa (same as other *.hacktivism.ch)
# --- comment at top of Caddyfile port map ---
# 9090 tops ng1 | 9091 tops ng2 | 9092 tops ng3
tops.ng1.hacktivism.ch {
header Alt-Svc "clear"
reverse_proxy 127.0.0.1:9090 {
header_up Host {host}
header_up X-Forwarded-For {remote_host}
header_up X-Forwarded-Proto {scheme}
}
}
tops.ng2.hacktivism.ch {
header Alt-Svc "clear"
reverse_proxy 127.0.0.1:9091 {
header_up Host {host}
header_up X-Forwarded-For {remote_host}
header_up X-Forwarded-Proto {scheme}
}
}
tops.ng3.hacktivism.ch {
header Alt-Svc "clear"
reverse_proxy 127.0.0.1:9092 {
header_up Host {host}
header_up X-Forwarded-For {remote_host}
header_up X-Forwarded-Proto {scheme}
}
}
# Also add these hosts to the existing HTTP→HTTPS redirect block, e.g.:
# http://..., http://tops.ng1.hacktivism.ch, http://tops.ng2.hacktivism.ch, http://tops.ng3.hacktivism.ch {