Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 721 Bytes

ruby.md

File metadata and controls

11 lines (7 loc) · 721 Bytes

Using cg-egress-proxy with a Ruby application

By default,1 net/http proxy support is limited to connecting to http proxies, and not https proxies. To make proxied connections in Ruby, use Faraday along with one of the following two adapters2:

Both of those adapters should work out-of-the-box to configure themselves properly from the http_proxy and https_proxy environment variables and system certificate store.

Footnotes

  1. As of September 30, 2024

  2. Please update this list if you find more adapters that work. This is not exhaustive.