24 lines
636 B
YAML
24 lines
636 B
YAML
# traefik/dynamic/plex.yml
|
|
#
|
|
# Plex runs with network_mode: host for LAN discovery/GDM. The Docker provider
|
|
# resolves host-network containers to 127.0.0.1 from inside Traefik, which causes
|
|
# Bad Gateway. Keep this one host-network route as a documented File provider
|
|
# exception and point Traefik at the Unraid LAN IP.
|
|
http:
|
|
routers:
|
|
plex:
|
|
rule: Host(`plex.kaleschke.info`)
|
|
entryPoints:
|
|
- websecure
|
|
middlewares:
|
|
- secure-headers@file
|
|
tls:
|
|
certResolver: le
|
|
service: plex
|
|
|
|
services:
|
|
plex:
|
|
loadBalancer:
|
|
servers:
|
|
- url: http://192.168.178.58:32400
|