mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-25 01:10:22 +00:00
26 lines
540 B
YAML
26 lines
540 B
YAML
---
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: plex
|
|
namespace: plex
|
|
annotations:
|
|
kubernetes.io/ingress.class: traefik-external
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: Host(`www.plex.yourdomain.co.uk`)
|
|
kind: Rule
|
|
services:
|
|
- name: plex
|
|
port: 32400
|
|
- match: Host(`plex.yourdomain.co.uk`)
|
|
kind: Rule
|
|
services:
|
|
- name: plex
|
|
port: 32400
|
|
middlewares:
|
|
- name: default-headers
|
|
tls:
|
|
secretName: yourdomain-tls
|