Skip to content

Commit

Permalink
Add backendref
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong committed Nov 2, 2023
1 parent c631112 commit 701be77
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions apps/events/httproute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,13 @@ spec:
hostnames:
- events.wisv.ch
rules:
- matches:
- path:
type: PathPrefix
value: null
backendRefs:
- name: events
port: 80
- filters:
- type: URLRewrite
urlRewrite:
hostname: ch.tudelft.nl
path:
type: ReplacePrefixMatch
replacePrefixMatch: /events
replacePrefixMatch: /events
backendRefs:
- name: events
port: 80

0 comments on commit 701be77

Please sign in to comment.