1
0
forked from k-space/kube
kube/signs/application-extras.yaml

26 lines
502 B
YAML
Raw Normal View History

apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: sign-redirect
spec:
redirectRegex:
regex: ^https://sign.k-space.ee/(.*)
replacement: https://signs.k-space.ee/${1}
permanent: true
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: sign
spec:
entryPoints:
- websecure
routes:
- match: Host(`sign.k-space.ee`)
kind: Rule
middlewares:
- name: sign-redirect
services:
- kind: TraefikService
name: api@internal