change traefik config
This commit is contained in:
parent
9606440d5b
commit
45e9c23c25
@ -23,8 +23,10 @@ spec:
|
||||
- --api.insecure
|
||||
- --providers.kubernetesingress
|
||||
- --entryPoints.web.Address=:80
|
||||
- --entryPoints.web.asDefault=true
|
||||
- --entryPoints.web.proxyProtocol.trustedIPs=127.0.0.1/32,192.168.10.1
|
||||
- --entryPoints.websecure.Address=:443
|
||||
- --entryPoints.websecure.asDefault=true
|
||||
- --entryPoints.websecure.proxyProtocol.trustedIPs=127.0.0.1/32,192.168.10.1
|
||||
- --entryPoints.traefik.Address=:8080
|
||||
- --providers.kubernetesingress.ingressendpoint.publishedservice=traefik/traefik-service
|
||||
|
@ -18,13 +18,11 @@ kind: IngressRoute
|
||||
metadata:
|
||||
name: whoami-ingressroute
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`whoami.mziesel.nl`)
|
||||
- match: Host(`whoami.mziesel.nl`) || Path(`/`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: whoami-traefik
|
||||
- name: whoami
|
||||
port: web
|
||||
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user