Created
April 8, 2020 11:46
-
-
Save ptisserand/125a1e8befa9c431e3a87f5eb5b605e7 to your computer and use it in GitHub Desktop.
Using HTTP proxy for vagrant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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