26 lines
582 B
YAML
26 lines
582 B
YAML
apiVersion: traefik.containo.us/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: vaultwarden
|
|
namespace: vaultwarden
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: Host(`vault.spamasaurus.com`)
|
|
kind: Rule
|
|
services:
|
|
- name: vaultwarden
|
|
port: 8080
|
|
middlewares:
|
|
- name: security-headers@file
|
|
- name: compression@file
|
|
- match: Host(`vault.spamasaurus.com`) && Path(`/notifications/hub`)
|
|
kind: Rule
|
|
services:
|
|
- name: vaultwarden
|
|
port: 3012
|
|
middlewares:
|
|
- name: security-headers@file
|
|
- name: compression@file
|