Go to file
xsteadfastx 82e99c032b
Some checks failed
continuous-integration/drone/pr Build is failing
Merge branch 'master' into typeinsteadmap
2020-12-09 08:34:08 +01:00
build/package/docker ci 2020-12-03 12:07:03 +01:00
vendor Added Tpye instead map 2020-12-08 12:46:52 +01:00
.drone.yml release really only on tags 2020-12-09 08:31:45 +01:00
.gitignore ci 2020-12-03 12:07:03 +01:00
.goreleaser.yml ci 2020-12-03 12:07:03 +01:00
go.mod first commit 2020-12-03 11:42:25 +01:00
go.sum first commit 2020-12-03 11:42:25 +01:00
main.go Added Tpye instead map 2020-12-08 12:46:52 +01:00
Makefile ci 2020-12-03 12:07:03 +01:00
README.md readme 2020-12-03 12:52:25 +01:00

jellyfixer

a little container to fix this bug. it takes the origin response from /System/Info/Public and deletes the LocalAddress key.

Usage

it takes the base url as first argument.

docker-compose

    ---
    version: '3'
    services:
       jellyfin:
         image: jellyfin/jellyfin:latest
         volumes:
           - "/srv/www/jellyfin/config:/config"
           - "/srv/www/jellyfin/cache:/cache"
           - "/home/foo/Media/Videos:/media/Videos:ro"
         networks:
           - nginx_backend
         labels:
           - "traefik.enable=true"
           - "traefik.http.routers.jellyfin-secured.rule=Host(`jellyfin.foo.tld`)"
           - "traefik.http.routers.jellyfin-secured.entrypoints=websecure"
           - "traefik.http.routers.jellyfin-secured.tls.certresolver=mytlschallenge"
       jellyfixer:
         image: quay.io/xsteadfastx/jellyfixer:latest
         command: http://jellyfin:8096
         networks:
           - nginx_backend
         labels:
           - "traefik.enable=true"
           - "traefik.http.routers.jellyfixer-secured.rule=Host(`jellyfin.foo.tld`) && Path(`/System/Info/Public`)"
           - "traefik.http.routers.jellyfixer-secured.entrypoints=websecure"
           - "traefik.http.routers.jellyfixer-secured.tls.certresolver=mytlschallenge"