环境:ubuntu16.04 方法:通过socks5代理并且使用http链接 步骤: 1.设置全局使用socks5代理,并且使用http传输 git config --global http.proxy socks5://localhost:1080 (1080是设置的本地socks5端口,根据自己 ...
分类:
系统相关 时间:
2017-09-01 00:13:26
阅读次数:
214
最近梳理了下手头的业务,发现nginx层配有几种健康检查方式,在这里做个总结,记录下nginx做负载均衡时对后端节点的健康检查方式:1、ngx_http_proxy_module模块中的下面三个指令(nginx自带模块)proxy_connect_timeout60s设置与后端服务器建立连接的超时时间。应该注意这个超..
分类:
其他好文 时间:
2017-08-30 19:54:06
阅读次数:
192
设置全局代理,方法如下:修改 /etc/profile 文件,添加下面内容:http_proxy=http://username:password@yourproxy:8080/ftp_proxy=http://username:password@yourproxy:8080/export http... ...
分类:
系统相关 时间:
2017-08-25 01:16:51
阅读次数:
264
转自:http://www.cnblogs.com/JoJosBizarreAdventure/p/5892383.html 在linux terminal中使用代理 方法一: terminal中输入 export http_proxy= "http://web-proxy.xxxxxxxx.com ...
分类:
系统相关 时间:
2017-08-21 19:44:18
阅读次数:
171
1、apt-get的proxy 新建/etc/apt/apt.conf.d目录下新建10proxy文件,添加: Acquire::http::proxy"http://xx.xx.xx.xx:xxxx"; Acquire::https::proxy"https://xx.xx.xx.xx:xxxx" ...
分类:
其他好文 时间:
2017-08-08 12:20:11
阅读次数:
123
命令使用代理wget/curl 都支持使用代理wget -e “http_proxy=10.1.4.43:8080″ proxy.mimvp.comcurl -x 10.1.4.43:8080 proxy.mimvp.com 环境变量使用代理curl、wget也支持通过环境变量http_proxy来 ...
分类:
Web程序 时间:
2017-08-06 19:33:04
阅读次数:
230
为wget使用代理,可以直接修改/etc/wgetrc,也可以在主文件夹下新建.wgetrc,并编辑相应内容,本文采用后者。 直接往~/.wgetrc(自行创建此文件)添加如下内容: https_proxy = http://127.0.0.1:8087/http_proxy = http://12 ...
分类:
系统相关 时间:
2017-07-22 18:14:25
阅读次数:
234
ngx_http_proxy_module模块常见指令: ngx_http_headers_module:该模块由代理服务器响应给客户端的响应报文添加自定义首部,或修改首部的值。 小实验:配置反向代理服务器LNAMP,并验证缓存功能 各节点均为centos7.2,其中controller1 节点安装 ...
分类:
Web程序 时间:
2017-07-14 00:32:13
阅读次数:
275
本内容为网上收集整理,仅作为备忘!! hydra简单使用示例: 破解https: 破解teamspeak: 破解cisco: 破解smb: 破解pop3: 破解rdp: 破解http-proxy: 破解imap: 破解telnet ...
分类:
其他好文 时间:
2017-07-08 21:57:57
阅读次数:
250
http{ proxy_next_upstreamerrortimeouthttp_500http_502http_503http_504http_404; proxy_connect_timeout60s; proxy_read_timeout120s;server{location/{ proxy_next_upstreamerrortimeouthttp_502http_404; proxy_connect_timeout5s; proxy_read_timeout8s; proxy_passhttp:..
分类:
其他好文 时间:
2017-07-04 23:20:09
阅读次数:
211