Comments (8)
Very good idea - I plan to document the 3 main reverse proxies (Apache, NGiNX, and HAProxy).
from jellyfin-docs.
If we can figure out why those additional apps break for you that would be ideal.
At worst, we can say something like "these configs are known to work with the following apps. if you know how to fix another one, please open an issue on" and link here.
from jellyfin-docs.
Here was my end result..
jellyfin/jellyfin#533 (comment)
Using ProxyPass without rewrite rules did not work for me, I had to use rewrite rules to make it pass the get arguments...
So I wanted to ask if you could double check that you are in fact getting 101 on the websocket, not 404...
Furthermore, I found out that if the URL of the server contains "/emby" for example as in "https://emby" then it will connect to /socket instead. So until the code is less weird, it would be safe to support both paths
From what I can tell, the server seems to basically support any path as long as it is a websocket upgrade request.. I could be wrong
from jellyfin-docs.
@hawken93 I checked my vhost configuration and these are the http request and response headers.
I had some issues setting up the RewriteRule so as the ProxyPass and ProxyPassReverse directives are working for me, I gave up trying with Rewrite.
GET /embywebsocket?api_key=487116096bb84dbead82ed0807f96b3f&deviceId=TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0OyBydjo2MC4wKSBHZWNrby8yMDEwMDEwMSBGaXJlZm94LzYwLjB8MTU0NjQyOTAwNDQwNw11 HTTP/1.1
Host: jellyfin.example.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate, br
Sec-WebSocket-Version: 13
Origin: https://jellyfin.example.com
Sec-WebSocket-Extensions: permessage-deflate
Sec-WebSocket-Key: 3gsE0qZVVvp0btM4rvXdkA==
Cookie: ajs_user_id=null; ajs_group_id=null; ajs_anonymous_id=%2200000000000000000000000000%22
DNT: 1
Connection: keep-alive, Upgrade
Pragma: no-cache
Cache-Control: no-cache
Upgrade: websocket
HTTP/1.1 101 Switching Protocols
Connection: Upgrade
Upgrade: websocket
Sec-WebSocket-Accept: aYri2kLjFPZYY1VLtTY+DIbVj3I=
from jellyfin-docs.
The only difference is that I didn't have ProxyPassReverse on the websockets, so that must be it :)
from jellyfin-docs.
Any interest in a Traefik configuration? It can handle SSL certs directly and has some nice integrations with Docker using labels.
from jellyfin-docs.
Can you build upon #40? The more options we have the better.
from jellyfin-docs.
I'd say this is pretty much done, with all 3 major reverse proxies covered. If someone wants to add more PRs are always welcome!
from jellyfin-docs.
Related Issues (20)
- Chromecast - Nginx Content Security Policy HOT 5
- Missing information about Shows specials
- Podman install instructions are incorrect HOT 1
- Nginx HTTP 2.0 issues
- Undocumented Movie folders
- Error Protocol In Nginx Default Http Conf HOT 1
- codec support page needs updating to support new changes?
- Documentation for Installing on Synology
- Audio books file extensions and naming
- Native web server certificate generation instructions HOT 1
- Traefik v2 variables are deprecated
- [Issue]: group_add doesn't support integer in Compose v2 HOT 4
- Addon vs Add-on inconsistency HOT 1
- Add AAAA (IPv6) records for jellyfin.org HOT 1
- group_add not available in compose v3
- Video compatibility for Android needs updating
- Current service file for generic tarball install is not working HOT 1
- Getting help is no help HOT 1
- Asustor, Not finding it in app central HOT 1
- NVENC Encoding on GPU and Decoding on CPU
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jellyfin-docs.