26 lines
505 B
YAML
26 lines
505 B
YAML
apiVersion: traefik.containo.us/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: plex
|
|
namespace: pvr
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: Host(`media.pvr.spamasaurus.com`)
|
|
kind: Rule
|
|
services:
|
|
- name: plex
|
|
port: 32400
|
|
middlewares:
|
|
- name: security-headers@file
|
|
- name: compression@file
|
|
tls:
|
|
options:
|
|
name: defaults@file
|
|
certResolver: default
|
|
domains:
|
|
- main: '*.pvr.spamasaurus.com'
|
|
sans:
|
|
- 'pvr.spamasaurus.com'
|