39 lines
772 B
YAML
39 lines
772 B
YAML
|
---
|
||
|
apiVersion: gateway.networking.k8s.io/v1
|
||
|
kind: HTTPRoute
|
||
|
metadata:
|
||
|
name: fider-http
|
||
|
spec:
|
||
|
parentRefs:
|
||
|
- name: contour
|
||
|
sectionName: http
|
||
|
namespace: projectcontour
|
||
|
hostnames:
|
||
|
- fider.icb4dc0.de
|
||
|
- login.fider.icb4dc0.de
|
||
|
- community.buildr.icb4dc0.de
|
||
|
- community.inetmock.icb4dc0.de
|
||
|
rules:
|
||
|
- filters:
|
||
|
- type: RequestRedirect
|
||
|
requestRedirect:
|
||
|
scheme: https
|
||
|
statusCode: 301
|
||
|
---
|
||
|
apiVersion: gateway.networking.k8s.io/v1
|
||
|
kind: HTTPRoute
|
||
|
metadata:
|
||
|
name: fider-https
|
||
|
spec:
|
||
|
parentRefs:
|
||
|
- name: contour
|
||
|
namespace: projectcontour
|
||
|
hostnames:
|
||
|
- fider.icb4dc0.de
|
||
|
- login.fider.icb4dc0.de
|
||
|
- community.buildr.icb4dc0.de
|
||
|
- community.inetmock.icb4dc0.de
|
||
|
rules:
|
||
|
- backendRefs:
|
||
|
- name: fider
|
||
|
port: 3000
|