1
0
Fork 0

Add passHostHeader and responseForwarding in IngressRoute

Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
This commit is contained in:
Julien Salleyron 2019-09-13 16:46:04 +02:00 committed by Traefiker Bot
parent 7fa3537015
commit 401b3afa3b
7 changed files with 106 additions and 20 deletions

View file

@ -0,0 +1,20 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: test.route
namespace: default
spec:
entryPoints:
- foo
routes:
- match: Host(`foo.com`) && PathPrefix(`/bar`)
kind: Rule
priority: 12
services:
- name: whoami
port: 80
passHostHeader: false
responseForwarding:
flushInterval: 10s