27 lines
503 B
YAML
27 lines
503 B
YAML
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: http-rancher
|
|
namespace: default
|
|
spec:
|
|
hostnames:
|
|
- rancher.guaranteedstruggle.host
|
|
parentRefs:
|
|
- name: my-gateway
|
|
namespace: default
|
|
rules:
|
|
- matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|
|
filters:
|
|
- type: RequestHeaderModifier
|
|
requestHeaderModifier:
|
|
set:
|
|
- name: X-Forwarded-Proto
|
|
value: https
|
|
backendRefs:
|
|
- name: myrancher
|
|
port: 80
|