juntekim.com/traefik/who-am-i/whoami-ingressroute.yml
2025-12-07 10:01:18 +00:00

21 lines
No EOL
424 B
YAML

apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: simpleingressroute
namespace: default
spec:
entryPoints:
- websecure
routes:
- match: (Host(`whoami.mealcraft.com`) || Host(`www.whoami.mealcraft.com`))
kind: Rule
services:
- name: whoami
port: 80
tls:
certResolver: myresolver
domains:
- main: whoami.mealcraft.com
sans:
- '*.whoami.mealcraft.com'