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.
Written by Boris Quiroz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Capistrano
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#