Management of system-wide proxy settings
Add support for managing system-wide proxy settings.
The following environment variables need to be set:
- HTTP_PROXY
- HTTPS_PROXY
- FTP_PROXY
Possible excluded host shall be added in NO_PROXY variable
The variables need to be set both for logged in users and systemd services.
For systemd a file under /etc/systemd/system.conf.d
needs to be created setting the vars. Example:
10-proxy-env.conf
[Manager]
DefaultEnvironment=HTTP_PROXY=...
For users a file under /etc/profile.d
needs to be created exporting the vars. Example:
proxy.conf
export HTTP_PROXY=....