feat: Add uptime kuma redirect
This commit is contained in:
parent
12113f52f2
commit
56b43f5744
@ -84,5 +84,11 @@ data:
|
|||||||
noTLSVerify: true
|
noTLSVerify: true
|
||||||
http2Origin: true
|
http2Origin: true
|
||||||
httpHostHeader: wizarr.tonydu.me
|
httpHostHeader: wizarr.tonydu.me
|
||||||
|
- hostname: up.tonydu.me
|
||||||
|
service: https://traefik.traefik.svc.cluster.local
|
||||||
|
originRequest:
|
||||||
|
noTLSVerify: true
|
||||||
|
http2Origin: true
|
||||||
|
httpHostHeader: up.tonydu.me
|
||||||
# This rule matches any traffic which didn't match a previous rule, and responds with HTTP 404.
|
# This rule matches any traffic which didn't match a previous rule, and responds with HTTP 404.
|
||||||
- service: http_status:404
|
- service: http_status:404
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: blog-tonydu
|
name: blog-tonydu-me
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
@ -2,5 +2,6 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- blog-tonydu.yaml
|
- blog-tonydu-me.yaml
|
||||||
|
- up-tonydu-me.yaml
|
||||||
- up-mnke-org.yaml
|
- up-mnke-org.yaml
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: up-mnke-org
|
name: up-tonydu-me
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
@ -27,4 +27,4 @@ spec:
|
|||||||
name: uptime-kuma
|
name: uptime-kuma
|
||||||
port: http
|
port: http
|
||||||
tls:
|
tls:
|
||||||
secretName: wildcard-mnke-org-tls
|
secretName: wildcard-tonydu-me-tls
|
||||||
|
21
k8s/apps/ingressroutes/internal/up-tonydu-me.yaml
Normal file
21
k8s/apps/ingressroutes/internal/up-tonydu-me.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: up-mnke-org
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
routes:
|
||||||
|
- match: Host(`up.tonydu.me`)
|
||||||
|
kind: Rule
|
||||||
|
middlewares:
|
||||||
|
- name: redirect-tonydu-me-mnke-org
|
||||||
|
namespace: default
|
||||||
|
services:
|
||||||
|
- kind: Service
|
||||||
|
name: uptime-kuma
|
||||||
|
port: http
|
||||||
|
tls:
|
||||||
|
secretName: wildcard-tonydu-me-tls
|
Loading…
x
Reference in New Issue
Block a user