Skip to content

Commit

Permalink
Cleanup events httproute
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepdeJong committed Nov 2, 2023
1 parent 8bbdc2e commit 03e25a5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions apps/events/httproute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,8 @@ spec:
filters:
- type: RequestRedirect
requestRedirect:
# Hostname seems not to work.. Therefore we serve the app on /events too.
# TODO: fix this.
hostname: ch.tudelft.nl
path:
type: ReplacePrefixMatch
replacePrefixMatch: /events
statusCode: 301
- matches:
- path:
type: PathPrefix
value: /events
backendRefs:
- name: events
port: 80
statusCode: 301

0 comments on commit 03e25a5

Please sign in to comment.