plex: route host network service via traefik file

This commit is contained in:
2026-06-06 13:44:22 +02:00
parent 2a87220862
commit 7ce8e948cd
4 changed files with 27 additions and 12 deletions
+23
View File
@@ -0,0 +1,23 @@
# 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