This commit is contained in:
sandervanvugt 2025-01-09 15:39:14 +01:00
parent fe1ce322b1
commit 95ec64ef03

18
https-routing.yaml Normal file
View File

@ -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