mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-21 15:30:19 +00:00
30 lines
666 B
YAML
30 lines
666 B
YAML
---
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: proxmox
|
|
namespace: default
|
|
annotations:
|
|
kubernetes.io/ingress.class: traefik-external
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: Host(`www.proxmox.jimsgarage.co.uk`)
|
|
kind: Rule
|
|
services:
|
|
- name: proxmox
|
|
port: 8006
|
|
scheme: https
|
|
passHostHeader: true
|
|
- match: Host(`proxmox.jimsgarage.co.uk`)
|
|
kind: Rule
|
|
services:
|
|
- name: proxmox
|
|
port: 8006
|
|
scheme: https
|
|
passHostHeader: true
|
|
middlewares:
|
|
- name: default-headers
|
|
tls:
|
|
secretName: jimsgarage-tls
|