Add SOCKS support
This commit is contained in:
parent
94e12af103
commit
ce13580bd4
2 changed files with 3 additions and 2 deletions
|
@ -38,4 +38,5 @@ volumes:
|
||||||
| `PREVIEW_HOMESERVER` | The homeserver to use for the previews. | `https://matrix.nexy7574.co.uk` | The host name of the request URL. |
|
| `PREVIEW_HOMESERVER` | The homeserver to use for the previews. | `https://matrix.nexy7574.co.uk` | The host name of the request URL. |
|
||||||
| `PREVIEW_HOST` | The host IP/Name to listen to. | `192.168.0.2` | `0.0.0.0` |
|
| `PREVIEW_HOST` | The host IP/Name to listen to. | `192.168.0.2` | `0.0.0.0` |
|
||||||
| `PREVIEW_PORT` | The port to listen to. | `8080` | `2226` |
|
| `PREVIEW_PORT` | The port to listen to. | `8080` | `2226` |
|
||||||
| `FORWARDED_ALLOW_IPS` | The list of reverse proxy IPs to trust. See [Uvicorn docs](https://www.uvicorn.org/settings/#http) | `*` | `127.0.0.1` |
|
| `PREVIEW_PROXY` | A HTTP/HTTPS/SOCKS4/SOCKS5 proxy to use for all network requests.
|
||||||
|
| `FORWARDED_ALLOW_IPS` | The list of reverse proxy IPs to trust. See [Uvicorn docs](https://www.uvicorn.org/settings/#http) | * | `127.0.0.1` |
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
rich~=13.7
|
rich~=13.7
|
||||||
uvicorn~=0.27
|
uvicorn~=0.27
|
||||||
fastapi~=0.109
|
fastapi~=0.109
|
||||||
httpx~=0.26
|
httpx[socks]~=0.26
|
||||||
beautifulsoup4~=4.12
|
beautifulsoup4~=4.12
|
||||||
appdirs~=1.4
|
appdirs~=1.4
|
||||||
|
|
Loading…
Reference in a new issue