|
|
@ -1,4 +1,14 @@
|
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
|
|
|
|
kind: Middleware
|
|
|
|
|
|
|
|
metadata:
|
|
|
|
|
|
|
|
name: tandoor-headers
|
|
|
|
|
|
|
|
namespace: tandoor
|
|
|
|
|
|
|
|
spec:
|
|
|
|
|
|
|
|
headers:
|
|
|
|
|
|
|
|
frameDeny: true
|
|
|
|
|
|
|
|
browserXssFilter: true
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
apiVersion: traefik.containo.us/v1alpha1
|
|
|
|
kind: IngressRoute
|
|
|
|
kind: IngressRoute
|
|
|
|
metadata:
|
|
|
|
metadata:
|
|
|
|
name: recipes-route
|
|
|
|
name: recipes-route
|
|
|
@ -14,6 +24,8 @@ spec:
|
|
|
|
port: 80
|
|
|
|
port: 80
|
|
|
|
- match: Host(`recipes.trivernis.dev`) || Host(`recipes.trivernis.net`)
|
|
|
|
- match: Host(`recipes.trivernis.dev`) || Host(`recipes.trivernis.net`)
|
|
|
|
kind: Rule
|
|
|
|
kind: Rule
|
|
|
|
|
|
|
|
middlewares:
|
|
|
|
|
|
|
|
- name: tandoor-headers
|
|
|
|
services:
|
|
|
|
services:
|
|
|
|
- name: tandoor
|
|
|
|
- name: tandoor
|
|
|
|
port: 8080
|
|
|
|
port: 8080
|
|
|
|