Files
homelab/proxmox/manifests/gateway/global-http-redirect.yaml
T
2026-10-23 10:28:31 +03:00

23 lines
477 B
YAML

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: global-http-redirect
namespace: gateway-system
spec:
parentRefs:
- name: shared-gateway
namespace: gateway-system
sectionName: http-redirect
rules:
- matches:
- path:
type: PathPrefix
value: /
filters:
- type: RequestRedirect
requestRedirect:
scheme: https
statusCode: 301
port: 443