Skip to content

🥷 Proxy

Renan Altendorf edited this page May 26, 2025 · 1 revision

1. Set up the Proxy List

Set the PROXY_LIST environment variable with your list of proxies. Two formats are supported:

Format 1: Standard URL format

http://USER:PASSWORD@HOST:PORT

Format 2:

IP:PORT:USER:PASSWORD

You can include multiple proxies by separating them with commas or newlines.

2. Cache the Proxy List

Run the proxy cache updater script to store the proxy list in the cache:

php bin/proxy

3. Enable the Proxy Rule

You can enable the proxy rule in two ways:

Global Enabling

To enable proxies for all domains, edit app/data/global_rules.php and set:

'proxy' => true,

Domain-Specific Enabling

To enable proxies only for specific domains, edit app/data/domain_rules.php and add the rule to the desired domain:

'example.com' => [
    'proxy' => true,
    // other rules...
],
Clone this wiki locally