Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add comments on Proxying to README #82

Closed
grtjn opened this issue Oct 9, 2015 · 2 comments
Closed

Add comments on Proxying to README #82

grtjn opened this issue Oct 9, 2015 · 2 comments

Comments

@grtjn
Copy link
Owner

grtjn commented Oct 9, 2015

See http://justintung.com/2013/04/25/how-to-configure-proxy-settings-in-linux/ for some interesting suggestions..

@grtjn grtjn added this to the 1.0.1 milestone Oct 9, 2015
@grtjn grtjn modified the milestones: 1.0.1, 1.0.2 Apr 12, 2016
@jongiddy
Copy link

I used the vagrant-proxyconf plugin and added this to the the Vagrantfile:

     mastername = get_vm_name(1)

+    hostnames = (1..@nr_hosts).map{|i| get_vm_name(i)}.join(",")
+    config.proxy.ftp      = "http://10.1.1.100:8080/"
+    config.proxy.http     = "http://10.1.1.100:8080/"
+    config.proxy.https    = "http://10.1.1.100:8080/"
+    config.proxy.no_proxy = "localhost,127.0.0.1,#{hostnames}"
+  
     config.hostmanager.enabled = false
     config.hostmanager.manage_host = true
     config.hostmanager.include_offline = true

Would it be worth adding this code inside a guard expression and having the proxy as an optional setting in project.properties?

@grtjn
Copy link
Owner Author

grtjn commented May 12, 2016

Looks great! PR's always welcome.. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants