mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-21 23:40:19 +00:00
27 lines
No EOL
609 B
YAML
27 lines
No EOL
609 B
YAML
---
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: vaultwarden
|
|
namespace: vaultwarden
|
|
annotations:
|
|
kubernetes.io/ingress.class: traefik-external
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: Host(`www.vaultwarden.yourdomain.co.uk`)
|
|
kind: Rule
|
|
services:
|
|
- name: vaultwarden
|
|
port: 80
|
|
- match: Host(`vaultwarden.yourdomain.co.uk`)
|
|
kind: Rule
|
|
services:
|
|
- name: vaultwarden
|
|
port: 80
|
|
middlewares:
|
|
- name: default-headers
|
|
- name: local-ipwhitelist
|
|
tls:
|
|
secretName: yourdomain-tls |