:_mod-docs-content-type: ASSEMBLY
[id="microshift-configuring-routes"]
= Configuring routes
include::_attributes/attributes-microshift.adoc[]
:context: microshift-configuring-routes

toc::[]

[role="_abstract"]
To enable {microshift-short} node access for services, configure the cluster routes. By using this configuration, you can expose specific applications directly through the network interface of the node.

Secure routes provide the ability to use several types of TLS termination to serve certificates to the client. See the _Additional resources_ section for links to the {OCP} documentation that describe how to create re-encrypt, edge, and passthrough routes with custom certificates.

//OCP module, edit with care; Creating an insecure/http route
include::modules/microshift-nw-create-http-based-route.adoc[leveloffset=+1]

//OCP module, edit with care; HTTP Strict Transport Security
include::modules/nw-enabling-hsts.adoc[leveloffset=+1]

//OCP module, edit with care; Enabling HTTP strict transport security per-route
include::modules/nw-enabling-hsts-per-route.adoc[leveloffset=+1]

//OCP module, edit with care; Disabling HTTP strict transport security per-route
include::modules/nw-disabling-hsts.adoc[leveloffset=+2]

//Enforcing HTTP strict transport security per-domain
include::modules/microshift-nw-enforcing-hsts-per-domain.adoc[leveloffset=+2]

//OCP module, edit with care; Troubleshooting Throughput Issues
include::modules/nw-throughput-troubleshoot.adoc[leveloffset=+1]

//OCP module, edit with care; Using cookies to keep route statefulness
include::modules/nw-using-cookies-keep-route-statefulness.adoc[leveloffset=+1]

//OCP module, edit with care; Using cookies to keep route statefulness
include::modules/nw-annotating-a-route-with-a-cookie-name.adoc[leveloffset=+2]

//OCP module, edit with care
include::modules/nw-path-based-routes.adoc[leveloffset=+1]

//OCP module, edit with care; just use the `Route` CR
include::modules/nw-http-header-configuration.adoc[leveloffset=+1]

//OCP module, edit with care
include::modules/nw-route-set-or-delete-http-headers.adoc[leveloffset=+1]

//OCP module, edit with care
include::modules/nw-ingress-creating-a-route-via-an-ingress.adoc[leveloffset=+1]

//OCP module, edit with care
include::modules/nw-ingress-edge-route-default-certificate.adoc[leveloffset=+1]

//OCP module, edit with care
include::modules/nw-ingress-reencrypt-route-custom-cert.adoc[leveloffset=+1]

[role="_additional-resources"]
.Additional resources

* link:https://docs.redhat.com/en/documentation/openshift_container_platform/{ocp-version}/html/networking/configuring-routes#nw-ingress-creating-a-reencrypt-route-with-a-custom-certificate_secured-routes[Creating a re-encrypt route with a custom certificate]

* link:https://docs.redhat.com/en/documentation/openshift_container_platform/4.15/html/networking/configuring-routes#nw-ingress-creating-an-edge-route-with-a-custom-certificate_secured-routes[Creating an edge route with a custom certificate]

* link:https://docs.redhat.com/en/documentation/openshift_container_platform/4.15/html/networking/configuring-routes#nw-ingress-creating-a-passthrough-route_secured-routes[Creating a passthrough route]