change traefik config
This commit is contained in:
parent
9606440d5b
commit
45e9c23c25
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user