mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-22 16:00:19 +00:00
27 lines
625 B
YAML
27 lines
625 B
YAML
|
---
|
||
|
apiVersion: traefik.containo.us/v1alpha1
|
||
|
kind: IngressRoute
|
||
|
metadata:
|
||
|
name: gotify
|
||
|
namespace: gotify
|
||
|
annotations:
|
||
|
kubernetes.io/ingress.class: traefik-external
|
||
|
spec:
|
||
|
entryPoints:
|
||
|
- websecure
|
||
|
routes:
|
||
|
- match: Host(`www.gotify.jimsgarage.co.uk`) # change to your domain
|
||
|
kind: Rule
|
||
|
services:
|
||
|
- name: gotify
|
||
|
port: 80
|
||
|
- match: Host(`gotify.jimsgarage.co.uk`) # change to your domain
|
||
|
kind: Rule
|
||
|
services:
|
||
|
- name: gotify
|
||
|
port: 80
|
||
|
middlewares:
|
||
|
- name: default-headers
|
||
|
tls:
|
||
|
secretName: jimsgarage-tls # change to your cert
|