Last Updated: February 25, 2016
·
1.062K
· boris

Use http_proxy with capistrano

To define http(s)_proxy for capistrano, add the following:

default_environment['http_proxy'] = 'server:port'
default_environment['https_proxy'] = 'server:port'

This can be added either on deploy.rb file or on your staging file.