homelab/server/config/traefik/labels.txt
2022-02-08 17:00:27 -08:00

8 lines
364 B
Plaintext

# for all web-facing services
traefik.http.routers.<router-name>.rule=Host(`<subdomain>.jafner.net`)
traefik.http.routers.<router-name>.tls.certresolver=lets-encrypt
# for restricting service to LAN IPs
traefik.http.routers.<router-name>.middlewares=lan-only@file
# for setting a non-default port
traefik.http.services.<service-name>.loadbalancer.server.port=1234