cdrhdg
Last Updated: February 25, 2016
·
545
· boris
Beer avatar

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.

Say Thanks
Respond