Files
fpov/templates/traefik_dynamic.yml.j2
2026-03-19 23:09:55 -06:00

40 lines
950 B
Django/Jinja
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.
http:
routers:
synapse:
entryPoints:
- websecure
rule: "Host(`{{ matrix_domain }}`)"
service: synapse
tls:
certResolver: myresolver
landing:
entryPoints:
- websecure
rule: "Host(`{{ landing_domain }}`)"
service: landing
tls:
certResolver: myresolver
services:
synapse:
loadBalancer:
servers:
- url: "http://{{ podman_network }}:{{ synapse_http_port }}/"
landing:
loadBalancer:
servers:
- url: "http://{{ podman_network }}:8080/"
# ---------- TCP router for Teamspeak query ----------
tcp:
routers:
teamspeak:
entryPoints:
- teamspeak
rule: "HostSNI(`{{ teamspeak_domain }}`)" # optional – works like Host for TCP
service: teamspeak
services:
teamspeak:
loadBalancer:
servers:
- address: "{{ podman_network }}:{{ teamspeak_tcp_port }}"