Comments (12)
cc @mcarlton00 @joshuaboniface
from jellyfin-docs.
Admittedly, Apache is the one that I'm the least familiar with. I copied the config that @sauerj provided and tested it locally to make sure it works. It sounds like you possibly didn't enable the extra modules from the section that's under the main code block for Apache. Try running a2enmod proxy proxy_http ssl
and then restart Apache. Sometimes these are included by default, sometimes they need to be a manual step. I think it depends on which distro you're using.
As for improvements:
- running http server + own domain name
The docs are outlining how to set up a http server, so I'm not sure that should necessarily be a requirement. I hesitate to include installation instructions just because of how much variance there is between distros and package managers. We probably should make a note about the domain name, though. It's really only strictly necessary if people are accessing the server from outside their local network, but it's almost certainly the most common use case we'll see.
- machine running jellyfin is also the machine running the reverse proxy
- highlight which part of code snippet should be adapted
I think these are actually a single point, but two different variables. I work with these things every day so it's obvious to me what needs to be changed, but looking at it now I agree that it could be clearer for the average user. Possibly replace the values in the code blocks with something like $SERVER_IP_ADDRESS
and $DOMAIN_NAME
so they stand out, and make a note of it in the beginning explanation.
The same could possibly be said for the SSL cert. I'm going off the assumption that the large majority of users will be using LetsEncrypt, but it could potentially be changed to /path/to/your/ssl/certificate
instead of assuming.
I'll let @joshuaboniface weigh in as well. I won't have time to update anything until at least this weekend, possibly longer.
from jellyfin-docs.
The docs are outlining how to set up a http server, so I'm not sure that should necessarily be a requirement. [...] We probably should make a note about the domain name, though.
Fair to me. Maybe include a note, this needs both setup on the DNS provider + on the http server.
Possibly replace the values in the code blocks with something like $SERVER_IP_ADDRESS and $DOMAIN_NAME so they stand out, and make a note of it in the beginning explanation.
It would have helped me because i knew I needed to change thoses but i did not know if i needed to change others parts.
The same could possibly be said for the SSL cert
yes also i bet some people have cert including domain + subdomains.
Try running a2enmod proxy proxy_http ssl and then restart Apache
# a2enmod proxy proxy_http
Module proxy already enabled
Considering dependency proxy for proxy_http:
Module proxy already enabled
Module proxy_http already enabled
Also tried proxy_html.
from jellyfin-docs.
by the way for some reason, my setup does now work. Only thing i did in the meantime was to test from local machine 127.0.0.1:8096 . Did this test actually performed something?
from jellyfin-docs.
Maybe you restarted Apache in the meantime, and it fixed something it didn't read in your configuration for the first time?
from jellyfin-docs.
@JustAMan just checked, after last restart (basically each time i tried to load a proxy_xxx module) i was still trying to acess, with no luck. And the site config has not changed neither. Anyway i propose to keep the bug opened regarding the documentation which may be improved.
from jellyfin-docs.
The reason it did not work is just Firefox 65.0.2 (64-bit). Firefox on Android works, Chrome works, but not this version.. Which is why i could not figure what i changed server side, indeed nothing.
from jellyfin-docs.
I have Firefox 65.0.2 on linux, and I was able to load up the Web UI and start a stream through an Apache proxy while testing. Could it be a bad cookie or something in your browser that isn't letting the page load? Can you try it in private browsing mode?
from jellyfin-docs.
@mcarlton00 , sorry i missed this! Some clearing in firefox persistent data and it works now (even in normal mode).
before it worked i also wondered : "now i wrote the apache snippet, what am i supposed to do?" It is fair to assume user knows to "a2ensite" , but it may be worth explaining then it is just necessary to visit the jellyfin.DOMAIN_NAME with browser. Otherwise if it does not work, user may believe other prerequisites / steps are missing. (eg among others i tried to navigate to https://jellyfin.DOMAIN_NAME/embywebsocket )
from jellyfin-docs.
Just adding that as well as the listed proxy_http module, I also needed to enable the proxy_wstunnel module before this worked for me. I don't see any harm in mentioning this along with the other require modules. This may have been related to other users issues with the /embysocket forwarding issue.
from jellyfin-docs.
@miket6000 can you make a PR to Apache section about adding that module?
from jellyfin-docs.
More of a side note, but it might be helpful to include a hint to services like https://ngrok.com/ in the docs.
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.