Hi. I would kindly request support to access Jellyfin via WebOS.
Thanks!
1. The problem I’m having:
I would like to access Jellyfin via the Internet from an LG WebOS Jellyfin app. With NGINX, it had these add_header
workarounds: Nginx | Jellyfin
Thus, I assume I simply need to add these headers.
3. Caddy version:
v2.7.6 h1
4. How I installed and ran Caddy:
Docker compose, 1:1 following GitHub - lucaslorentz/caddy-docker-proxy: Caddy as a reverse proxy for Docker
a. System environment:
Artix Linux 6.12.0-zen1-1-zen, Docker version 27.3.1, build ce1223035a
c. Service/unit/compose file:
version: "3.7"
services:
caddy:
image: lucaslorentz/caddy-docker-proxy:ci-alpine
ports:
- 80:80
- 443:443
environment:
TZ: Europe/Paris
CADDY_INGRESS_NETWORKS: caddy
CADDY_GLOBAL_DEFAULT_ROUTE: |
:80, :443 {
redir https://${DOMAINNAME}
}
networks:
- caddy
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- caddy_data:/data
restart: unless-stopped
labels:
caddy.email: abuse@${DOMAINNAME}
caddy.acme_ca: https://acme.zerossl.com/v2/DV90
networks:
caddy:
external: true
volumes:
caddy_data: {}
Jellyfin deployment:
version: "3.9"
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
user: ${UID}:${GID}
#network_mode: 'host'
volumes:
- /${CONFIGS}/jellyfin:/config
- type: bind
source: ${SOURCE_MEDIA}
target: /media
restart: 'unless-stopped'
networks:
- caddy
labels:
caddy: jellyfin.${DOMAINNAME}
caddy.reverse_proxy: "{{upstreams 8096}}"
#caddy.reverse_proxy.header.X-Frame-Options: SAMEORIGIN
#caddy.reverse_proxy.header.X-XSS-Protection: "0"
#caddy.reverse_proxy.header.X-Content-Type-Options: nosniff
networks:
caddy:
external: true