Skip to content

Commit

Permalink
Add url rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong committed Nov 2, 2023
1 parent 7a24ad0 commit c631112
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions apps/events/httproute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ spec:
- matches:
- path:
type: PathPrefix
value: /
value: null
backendRefs:
- name: events
port: 80
- filters:
- type: RequestRedirect
requestRedirect:
- type: URLRewrite
urlRewrite:
hostname: ch.tudelft.nl
path:
type: ReplacePrefixMatch
replacePrefixMatch: /events
statusCode: 302
replacePrefixMatch: /events

0 comments on commit c631112

Please sign in to comment.