You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
542 B
YAML

apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: iulse-redirect
namespace: iulse
spec:
redirectRegex:
regex: ^http(s)?://(www\.)?iulse\.com/(.*)
replacement: https://trivernis.net/${3}
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: web
namespace: iulse
spec:
entryPoints:
- web
routes:
- match: Host(`iulse.com`, `www.iulse.com`)
kind: Rule
middlewares:
- name: iulse-redirect
- name: strict-security-headers
namespace: default