这是由于设置了代理,现在代理不可用了,可以运行下面的语句查看一下 $ git config --global http.proxy 会输出配置代理的信息 然后输入下面的语句重置一下就好了 $ git config --global --unset http.proxy ...
分类:
数据库 时间:
2020-05-12 15:23:45
阅读次数:
88
(1)npm i http-proxy-middleware --save (2)vue.config.js: devServer: { proxy: { "/api": { target: "http://localhost:3000", // 要请求的后台地址 ws: true, // 启用we ...
分类:
其他好文 时间:
2020-04-29 18:23:04
阅读次数:
86
报错:IDEA failed connect to github.com port 44.: Timed out执行:git config --global http.proxy http://127.0.0.1:1080 git config --global https.proxy http:/ ...
分类:
其他好文 时间:
2020-04-24 14:32:06
阅读次数:
181
nginx关于http header有以下三个配置。 1 proxy_set_header https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_set_header 配置命令proxy_set_header,是在ngx_ht ...
分类:
Web程序 时间:
2020-04-20 13:33:25
阅读次数:
98
这里分别介绍下下常用的yum、wget、lftp等常用程序的设置。 一、wget下的代理设置 1、临时生效 set "http_proxy=http://[user]:[pass]@host:port/" 或 export "http_proxy=http://[user]:[pass]@host: ...
分类:
系统相关 时间:
2020-04-19 17:45:42
阅读次数:
111
charles 抓包安装自己百度就好 请求http不用安装证书,https需要安装证书 http:proxy>勾选window-proxy 怎么利用charles 打断点修改参数 拦截原理 客户端发出请求发给服务端,服务端收到请求,需要拦截(charles工具),拦截住,修改后,在发到服务端,服务端 ...
分类:
其他好文 时间:
2020-04-17 12:46:45
阅读次数:
51
HTTPoxy漏洞(CVE 2016 5385) 漏洞原文在这里, https://httpoxy.org/ 简单来说,根据RFC 3875规定,cgi(fastcgi)要将用户传入的所有HTTP头都加上HTTP_前缀注册放入环境变量中,而恰好大多数类库约定俗成会提取环境变量中的HTTP_PROXY ...
分类:
Web程序 时间:
2020-04-17 09:26:13
阅读次数:
125
当你用Android studio 打开一个新项目(一般是下载的工程),可能会报错 Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings ei ...
分类:
移动开发 时间:
2020-04-07 12:24:00
阅读次数:
1195
设置代理: export http_proxy="http://proxy-XXXXX" export https_proxy="https://proxy-XXXXX:" 取消代理: unset http_proxy unset https_proxy ...
分类:
系统相关 时间:
2020-04-02 11:52:08
阅读次数:
580
缓存类型 1. 浏览器缓存 2. Nginx代理服务器缓存 3. 服务器缓存,例如Redis、Memcache等 缓存配置 http://nginx.org/en/docs/http/ngx_http_proxy_module.html proxy_cache_path 缓存清理 使用 模块清理特定 ...
分类:
其他好文 时间:
2020-03-30 19:18:06
阅读次数:
73