Proxy Settings

Sometimes a proxy is required to access Huggingface and Civitai in your network environment. Crynux Node supports to specify the proxy in the config file.

Locate the config file

Go to the directory where you click Crynux Node.exe, there is a sub directory with name config, the config file can be found inside with name config.yml.

Fill in the proxy settings

Open the config.yml file with a text editor, and find the section below:

---
task_config:
  proxy:
    host: ''
    password: ''
    port: 8080
    username: ''

Just fill in the fields according to your proxy settings, and restart the node.

If your proxy requires authentication, fill in the username and password fields accordingly, otherwise just leave the fields empty.

If the host is not set, the node will try to use the proxy settings in the environment variables, which will be the value given in HTTPS_PROXY. No proxy will be used if this environment variable is not set.

Below is an example of using a proxy at localhost, with no proxy authentication:

---
task_config:
  proxy:
    host: 'http://127.0.0.1'
    password: ''
    port: 33210
    username: ''

Last updated