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
504 B
YAML
26 lines
504 B
YAML
apiVersion: traefik.containo.us/v1alpha1
|
|
kind: Middleware
|
|
metadata:
|
|
name: iulse-redirect
|
|
namespace: iulse
|
|
spec:
|
|
redirectRegex:
|
|
regex: .*
|
|
replacement: https://trivernis.net
|
|
---
|
|
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
|