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.
Open a Finder window, go to the Applications folder, right click on the Crynux Node.app and select Show Package Content, then go to the folder Contents/Resources/config, and the config file is located inside as config.yml.
If you have mounted the config directory outside of the container
find the config file config.yml in the mounted config directory on the host machine. Which should be config folder inside the project root, if you have followed the tutorial .
If you have not mounted the config directory
the config file can be found inside the container as /app/config/config.yml.
If you downloaded the binary release version of Linux server, the config file config.yml can be found in the config folder of the project root.
The config file is located at config/config.yml, relative to the project root folder.
Fill in the proxy settings
Open the config.yml file with a text editor, and find the section below:
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: