--- apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: http-redirect namespace: fafflix spec: hostnames: - jellyfin.k8s.syd1.au.unkin.net parentRefs: - group: gateway.networking.k8s.io kind: Gateway name: fafflix sectionName: http rules: - filters: - type: RequestRedirect requestRedirect: scheme: https statusCode: 301 matches: - path: type: PathPrefix value: / --- apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: fafflix-route namespace: fafflix spec: hostnames: - jellyfin.k8s.syd1.au.unkin.net parentRefs: - group: gateway.networking.k8s.io kind: Gateway name: fafflix sectionName: https rules: - backendRefs: - group: "" kind: Service name: fafflix port: 8096 weight: 1 matches: - path: type: PathPrefix value: /