Skip to content

Commit dc7078c

Browse files
committed
Add an https route
1 parent db1aa40 commit dc7078c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/resources/application.properties

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ quarkus.openshift.startup-probe.failure-threshold=48
4444
# Declare the management port on the service
4545
quarkus.openshift.ports."management".container-port=9000
4646
quarkus.openshift.ports."management".host-port=90
47+
# Add routes:
48+
quarkus.openshift.route.expose=true
49+
quarkus.openshift.route.target-port=https
50+
## Route TLS configuration:
51+
quarkus.openshift.route.tls.termination=edge
52+
quarkus.openshift.route.tls.insecure-edge-termination-policy=Redirect
4753
# Don't use the version in (service) selectors,
4854
# otherwise a rollback to an earlier version (due to failing startup) makes the service unavailable
4955
quarkus.openshift.add-version-to-label-selectors=false

0 commit comments

Comments
 (0)