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