- create a file to keep environment variables (called env.sh here) at /etc/profile.d/env.sh
- export two proxy variable in /etc/profile.d/evn.sh as below
export http_proxy=http://<ip/name>:<port>
export https_proxy=$http_proxy
export http_proxy=http://<ip/name>:<port>
export https_proxy=$http_proxy
Try setup-proxy schema://user:password@proxy.url:port
, then relogin
I recently tried this on an Alpine 3.9 release but it didn't work for me.
Looks like the env.sh script is not called on boot?
No proxy gateway recognized :-(