change traefik config

This commit is contained in:
Mans Ziesel 2024-10-13 17:07:12 +02:00
parent 9606440d5b
commit 45e9c23c25
2 changed files with 4 additions and 4 deletions

View File

@ -23,8 +23,10 @@ spec:
- --api.insecure - --api.insecure
- --providers.kubernetesingress - --providers.kubernetesingress
- --entryPoints.web.Address=:80 - --entryPoints.web.Address=:80
- --entryPoints.web.asDefault=true
- --entryPoints.web.proxyProtocol.trustedIPs=127.0.0.1/32,192.168.10.1 - --entryPoints.web.proxyProtocol.trustedIPs=127.0.0.1/32,192.168.10.1
- --entryPoints.websecure.Address=:443 - --entryPoints.websecure.Address=:443
- --entryPoints.websecure.asDefault=true
- --entryPoints.websecure.proxyProtocol.trustedIPs=127.0.0.1/32,192.168.10.1 - --entryPoints.websecure.proxyProtocol.trustedIPs=127.0.0.1/32,192.168.10.1
- --entryPoints.traefik.Address=:8080 - --entryPoints.traefik.Address=:8080
- --providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik-service - --providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik-service

View File

@ -18,13 +18,11 @@ kind: IngressRoute
metadata: metadata:
name: whoami-ingressroute name: whoami-ingressroute
spec: spec:
entryPoints:
- web
routes: routes:
- match: Host(`whoami.mziesel.nl`) - match: Host(`whoami.mziesel.nl`) || Path(`/`)
kind: Rule kind: Rule
services: services:
- name: whoami-traefik - name: whoami
port: web port: web
--- ---