Adding proxy to Relay Server

To add the proxy configuration to Relay Server, you can modify the /etc/profile file by following these steps:

  1. Open a terminal or command line session.

  2. Open the /etc/profile file in your favorite editor with administrative privileges:

sudo vim /etc/profile
  1. Scroll to the end of the file and add the following lines:

export AIR_HTTP_PROXY=proxy.example.com:3128
export AIR_HTTPS_PROXY=proxy.example.com:4128
export AIR_NO_PROXY=localhost,127.0.0.0/8,::1

Alternatively, you can use the following method to set proxy settings, but be aware that it will impact the proxy behavior of other programs.

export HTTP_PROXY=proxy.example.com:3128
export HTTPS_PROXY=proxy.example.com:4128
export NO_PROXY=localhost,127.0.0.0/8,::1

Save the changes and exit the text editor.

  1. To apply the changes, restart your system:

sudo reboot

By adding these lines to the /etc/profile file, the specified proxy settings will be exported as environment variables.

Last updated