Skip to content

Commit

Permalink
Specify route host and path to use an infra url
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-bekhta committed Nov 26, 2024
1 parent b3da93d commit e4d7b6c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ quarkus.openshift.startup-probe.failure-threshold=48
quarkus.openshift.ports."management".container-port=9000
quarkus.openshift.ports."management".host-port=90
# Add routes:
quarkus.openshift.route.host=infra.hibernate.org
quarkus.openshift.route.path=/replicate-jira
# Use a rewrite target so that the request go to the app root and the app handles the remaining path
# otherwise the app will end up receiving the path starting with `quarkus.openshift.route.path` (see ^)
# which it has no idea how to handle:
quarkus.openshift.route.annotations."haproxy.router.openshift.io/rewrite-target"=/
quarkus.openshift.route.expose=true
quarkus.openshift.route.target-port=http
## Route TLS configuration:
Expand Down

0 comments on commit e4d7b6c

Please sign in to comment.