-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A few suggestions/wishlist #44
Comments
hi the first and last features can be achieved by settings up nginx infront of this container and settings everything up. As for installing addons, this should be saved on your profile after you login. Not sure how else to achieve what you are asking or i'm not sure what exactly you have in mind. |
I wouldn't recommend adding Nginx inside the container. Anyone who's interested in using FQDN is likely already running reverse proxy, whether it be via Nginx, Traefik, Caddy or something else. Any specific advice beyond what's linked to get this working behind Nginx Proxy Manager https with wildcard cert? I can successfully access the webUI and play video in the browser by hitting my server by IP at http. Setting the server to the same IP and port 11470 successfully goes Online. If I reverse proxy using https://FQDN I can use the webUI, but I can't get the server setting to go online. Tried http and https, IP, FQDN, etc. Always Error. Also tried with and without disabling CORS and using the NGINX config options at the link you posted above. |
I remember I did setup nginx as a proxy and it worked fine but it had issues with basic auth when trying to setup the server. Haven't tested in a while though and that nginx config that the repo provides looks solid. Maybe you can ping the owner of that repo to ask questions. I'm happy to add it to the documentation if you got everything working. Saying that, I'm not sure if having server go through a proxy is the best idea performance wise since you will have to transfer data through that proxy and we are talking about GBs of data which need to be loaded in memory from each application. |
I had some help yesterday from the person who put together an Unraid deployment of your container. The solution is to create two entries in the reverse proxy (NPM in my case). One pointing to IP:8080 for the webUI and another (with a different subdomain) pointing to IP:11470 for the server. Both can be set up with TLS using wildcard cert for secure access. Then access the webUI using its FQDN and set the server to https with its different FQDN (no need to enter port number as that's taken care of by the reverse proxy config). So long as the docker's network type is bridge (on a macvlan setup), using the host's IP, this works brilliantly and video will play back within the browser even on iOS devices. Very nice. 😊 |
can you post all information required to set this up please ? |
OK, this is mainly from memory, hope I covered everything: Self-hosted Stremio WebUI & Server
|
I haven't tested myself but I do remember making it work with rewrite module in nginx. example : https://github.com/psyb0t/safe-stremio/blob/master/nginx/default.conf |
Hi, I have done this exact setup few days ago before I found this guide and can confirm it is reasonable and standard approach which works. My question is about the point 10 and if there is a way to make the server address stick. Additionally I recall loosing all the plugins before but this was before I created the account so not sure if still a problem. Basically I wonder how to persist the settings, plugins and server url, or even better to have it declared in docker compose or other config. Thank you. Awesome work! |
the default url of the server is hardcoded in the wasm file and that cannot be changed on the fly by doing some sed.
one could add this to their nginx configuration if they wanted plugin are also hardcoded to the wasm file and they cannot be changed as well. I'm looking at the web player repo to see that maybe some settings can be set and default by changing this file : https://github.com/Stremio/stremio-web/blob/development/src/common/CONSTANTS.js before we build |
First off, awesome work! I'm looking into self-hosting Stremio for myself and family, and I was wondering if you'd consider a few improvements?
SERVER_URL=https://stremio-server.domain.tld
The text was updated successfully, but these errors were encountered: