Skip to content

Instantly share code, notes, and snippets.

@ptisserand
Created April 8, 2020 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptisserand/125a1e8befa9c431e3a87f5eb5b605e7 to your computer and use it in GitHub Desktop.
Save ptisserand/125a1e8befa9c431e3a87f5eb5b605e7 to your computer and use it in GitHub Desktop.
Using HTTP proxy for vagrant
Vagrant.configure("2") do |config|
if Vagrant.has_plugin?("vagrant-proxyconf")
config.proxy.http = "http://192.168.0.110:3128/"
# config.proxy.https = "http://192.168.0.2:3128/"
# config.proxy.no_proxy = "localhost,127.0.0.1,.example.com"
end
# ... rest of the configurations
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment