Using a Proxy
Proxy support is built-in to the Ionic CLI. Proxy settings can be configured via the config file or an environment variable.
To configure proxy settings via the config file, run the following with the URL of the proxy server:
To configure proxy settings via an environment variable, use one of the following:
Other CLIs#
Each CLI that you use must be configured separately to proxy network requests.
npm#
git#
SSL Configuration#
The Ionic CLI can be configured to use various SSL settings for HTTP requests.
The cafile, certfile, and keyfile entries can be manually edited as arrays of strings in ~/.ionic/config.json to include multiple files.