From 95ec64ef030391397a3c65cbe98af5fffa4c2110 Mon Sep 17 00:00:00 2001 From: sandervanvugt Date: Thu, 9 Jan 2025 15:39:14 +0100 Subject: [PATCH] message --- https-routing.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 https-routing.yaml diff --git a/https-routing.yaml b/https-routing.yaml new file mode 100644 index 0000000..0608862 --- /dev/null +++ b/https-routing.yaml @@ -0,0 +1,18 @@ +apiVersion: gateway.networking.k8s.io/v1 +kind: HTTPRoute +metadata: + name: example-https-route +spec: + parentRefs: + - name: example-gateway + hostnames: + - "whatever.com" + rules: + - backendRefs: + - name: nginxgw + port: 443 + - filters: + - type: RequestRedirect + requestRedirect: + scheme: https + port: 443