Giter Site home page Giter Site logo

Comments (8)

joshuaboniface avatar joshuaboniface commented on July 23, 2024

Very good idea - I plan to document the 3 main reverse proxies (Apache, NGiNX, and HAProxy).

from jellyfin-docs.

sparky8251 avatar sparky8251 commented on July 23, 2024

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.

hawken93 avatar hawken93 commented on July 23, 2024

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.

sauerj avatar sauerj commented on July 23, 2024

@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.

hawken93 avatar hawken93 commented on July 23, 2024

The only difference is that I didn't have ProxyPassReverse on the websockets, so that must be it :)

from jellyfin-docs.

cfunseth avatar cfunseth commented on July 23, 2024

Any interest in a Traefik configuration? It can handle SSL certs directly and has some nice integrations with Docker using labels.

from jellyfin-docs.

JustAMan avatar JustAMan commented on July 23, 2024

Can you build upon #40? The more options we have the better.

from jellyfin-docs.

joshuaboniface avatar joshuaboniface commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.