Kubernetes.K3s.installLog/services/PiHole/ingressroute-pihole.yaml

18 lines
329 B
YAML

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: pihole
namespace: pihole
spec:
entryPoints:
- websecure
routes:
- match: Host(`d.itch.fyi`)
kind: Rule
services:
- name: pihole
port: 80
middlewares:
- name: security-headers@file
- name: compression@file