Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏

31.7. 代理服务器

vhosts 测试

有时候你需要设觉察/etc/hosts文件才能访问vhost,下面例子可以不设置/etc/hosts

				
curl -x 127.0.0.1:80 your.exmaple.com/index.php
		
		

socks5 服务器

		
$ curl -v -x socks5://username:password@IP:1080 http://www.google.com/