Route Leantime through Studio
This commit is contained in:
parent
78739b6904
commit
690ee80f01
1 changed files with 38 additions and 0 deletions
38
infrastructure/gateway/envoy/routes/leantime.yaml
Normal file
38
infrastructure/gateway/envoy/routes/leantime.yaml
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: leantime
|
||||
namespace: leantime
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: public-gateway
|
||||
namespace: apps
|
||||
hostnames:
|
||||
- "www.symcrest.com"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: Exact
|
||||
value: /services/studio/leantime
|
||||
filters:
|
||||
- type: RequestRedirect
|
||||
requestRedirect:
|
||||
scheme: https
|
||||
path:
|
||||
type: ReplaceFullPath
|
||||
replaceFullPath: /services/studio/leantime/
|
||||
statusCode: 301
|
||||
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /services/studio/leantime/
|
||||
filters:
|
||||
- type: URLRewrite
|
||||
urlRewrite:
|
||||
path:
|
||||
type: ReplacePrefixMatch
|
||||
replacePrefixMatch: /
|
||||
backendRefs:
|
||||
- name: leantime
|
||||
port: 8080
|
||||
Loading…
Add table
Add a link
Reference in a new issue