Skip to content

Commit e1f19fc

Browse files
committed
Specify route host and path to use an infra url
1 parent 931e3f2 commit e1f19fc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/resources/application.properties

+6
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ quarkus.openshift.startup-probe.failure-threshold=48
4848
quarkus.openshift.ports."management".container-port=9000
4949
quarkus.openshift.ports."management".host-port=90
5050
# Add routes:
51+
quarkus.openshift.route.host=infra.hibernate.org
52+
quarkus.openshift.route.path=/replicate-jira
53+
# Use a rewrite target so that the request go to the app root and the app handles the remaining path
54+
# otherwise the app will end up receiving the path starting with `quarkus.openshift.route.path` (see ^)
55+
# which it has no idea how to handle:
56+
quarkus.openshift.route.annotations."haproxy.router.openshift.io/rewrite-target"=/
5157
quarkus.openshift.route.expose=true
5258
quarkus.openshift.route.target-port=http
5359
## Route TLS configuration:

0 commit comments

Comments
 (0)