Add better guide for self-hosted proxy

This commit is contained in:
qtchaos 2024-01-10 23:49:20 +02:00
parent c43a2ebd5a
commit 607707786e
No known key found for this signature in database
GPG Key ID: 7DA98B2B9EF06A90
2 changed files with 15 additions and 4 deletions

View File

@ -16,16 +16,27 @@ Since this method uses your own IP, it is undetectable by streaming services, so
## Method 1 - Self-hosted proxy
Self-hosting a proxy is an easy way to get good streaming speeds, [we have a guide](../2.proxy/1.deploy.md) that explains how to set up one for **free**.
Self-hosting a proxy is an easy way to get faster streaming speeds, [we have a guide](../2.proxy/1.deploy.md) that explains how to set up one for **free**.
This method is recommended if you want to host a proxy for your friends and or family to use, as it is the fastest and most reliable way to stream media at the moment.
This method is recommended if you want to host a proxy for your friends and or family to use, as it is the faster than using the public proxy and the most reliable way to stream media at the moment.
<!-- This method is recommended if you want to host a proxy for your friends and family to use, or if you want to use movie-web on a device that doesn't support the [browser extension](#method-1---browser-extension), such as a smart TV or mobile device. -->
Once you follow the guide on how to set up a proxy, you can use the URL of your proxy in the client either by using the [`VITE_CORS_PROXY_URL`](../3.client/3.configuration.md#vite_cors_proxy_url) variable if you're self-hosting or if you're using the main website, by going into the `Settings`, then scrolling all the way down to `Connections` and enabling the `Use custom proxy workers` option and entering your URL from earlier.
1. Set up a proxy using one of our [guides](../2.proxy/1.deploy.md#deploying-the-proxy), [though we recommend Netlify](../2.proxy/1.deploy.md#method-1---netlify-easy).
2. Once that's done, go to the [Connections](https://movie-web.app/settings#settings-connection){target="\_blank"} section of the [Settings page](https://movie-web.app/settings){target="\_blank"} on [movie-web](https://movie-web.app){target="\_blank"}.
3. Enable `Use custom proxy workers` if it's not already enabled.
4. Add a new custom proxy by clicking `Add new worker`.
5. Copy the URL of the proxy you deployed before, and paste it into the empty text box.
![Example of settings page](/assets/proxy-url-example.gif)
::alert{type="info"}
If you're self-hosting the client, you can use the [`VITE_CORS_PROXY_URL`](../3.client/3.configuration.md#vite_cors_proxy_url) variable to set the proxy URL for everyone who uses your client.
::
## Method 2 - Public proxy
The public proxy is the easiest way to get started with movie-web as it is the default, it is hosted by us and is completely free to use.
If you are using the main website, then you are most likely already using the public proxy. This is not the case with self-hosted clients, there is no proxy set up by default on self-hosted clients and you will need to [set up one yourself](../2.proxy/1.deploy.md).
If you are using the main website, then you are most likely already using the public proxy. Unfortunately you will most likely be getting slower speeds and your video might be buffering more often, which is why we recommend using a self-hosted proxy if you can.
This is not the case with self-hosted clients, there is no proxy set up by default on self-hosted clients and you will need to [set up one yourself](../2.proxy/1.deploy.md).

Binary file not shown.

After

Width:  |  Height:  |  Size: 887 KiB