Skip to content

Instantly share code, notes, and snippets.

@thornbill
Last active January 26, 2021 19:07
Show Gist options
  • Save thornbill/6a9feaa57ddd1ee58a1da06b493e3b29 to your computer and use it in GitHub Desktop.
Save thornbill/6a9feaa57ddd1ee58a1da06b493e3b29 to your computer and use it in GitHub Desktop.
Caddyfile for Jellyfin
jellyfin.example.com {
basicauth username "password" {
# web interface
/web/
# sensitive api endpoints
/system/
/users/
# valid api prefixes
/jellyfin/
/emby/
/mediabrowser/
}
# proxy to the docker container
proxy / jellyfin:8096 {
transparent
websocket
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment