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.

31 lines
700 B
YAML

1 year ago
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: tandoor-headers
namespace: tandoor
spec:
headers:
frameDeny: true
browserXssFilter: true
---
apiVersion: traefik.containo.us/v1alpha1
1 year ago
kind: IngressRoute
metadata:
name: recipes-route
namespace: tandoor
1 year ago
spec:
entryPoints:
- web
routes:
- match: (Host(`recipes.trivernis.dev`) || Host(`recipes.trivernis.net`)) && (Path(`/media`) || Path(`/static`))
1 year ago
kind: Rule
services:
- name: tandoor
1 year ago
port: 80
- match: Host(`recipes.trivernis.dev`) || Host(`recipes.trivernis.net`)
kind: Rule
middlewares:
- name: tandoor-headers
services:
- name: tandoor
port: 8080