Files
hado/deploy/Caddyfile.snippet
2026-09-04 08:35:59 -03:00

13 lines
441 B
Caddyfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Hado: публичные пути (клиенты по токену, кнопки из каналов, Telegram) идут мимо SSO,
# всё остальное — через forward_auth хаба. Порядок матчеров важен.
hado.{$DOMAIN} {
@public path /api/* /a/* /hooks/* /up
handle @public {
reverse_proxy <hado-wireguard-ip>:8080
}
handle {
import protected
reverse_proxy <hado-wireguard-ip>:8080
}
}