Skip to content

Commit

Permalink
Update proxy section
Browse files Browse the repository at this point in the history
  • Loading branch information
moisout committed Jul 8, 2024
1 parent e2e19dc commit 0fa258e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions content/3.configuration/2.advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,14 @@ Read more about CORS here: <https://developer.mozilla.org/en-US/docs/Web/HTTP/CO

Create a file called `redis.conf`.

```conf
# redis.conf
```text [redis.conf]
maxmemory 4GB # Set the maximum memory Redis can use
maxmemory-policy allkeys-lru # Set the eviction policy (Read more here https://redis.io/docs/latest/operate/rs/databases/memory-performance/eviction-policy/)
```
Make the following changes to your docker-compose file.

```yml
# docker-compose.yml
Make the following changes to your docker-compose file.

```yaml [docker-compose.yml]
redis:
...
volumes:
Expand Down Expand Up @@ -54,6 +51,10 @@ You can provide your own cookies to circumvent this issue.

## Proxy

Another way to circumvent Google's rate-limiting is to use an external proxy. ViewTube already proxies all requests through the server it's running on, but you can also use an external proxy.
Another way to circumvent Google's rate-limiting is to use an external proxy. ViewTube already proxies all requests through the server it's running on, but you can also use an external proxy. ViewTube supports http, https and socks proxies.

Set the proxy URL using the `VIEWTUBE_PROXY_URL` environment variable.

For example: VIEWTUBE\_PROXY\_URL="**https\://proxy.example.com:8555**"

With authentication: VIEWTUBE\_PROXY\_URL="**socks\://username\:password\@proxy.example.com:8555**"

0 comments on commit 0fa258e

Please sign in to comment.