- 博客(5)
- 收藏
- 关注
原创 Docker Registry 透过 Nginx 反向代理 执行 Push 操作时提示 unknown blob
docker-registry监听5000端口,在nginx做反代后改为监听443端口且在nginx配置中加https服务,若未配置proxy_set_header Host,则有可能会出现unknown blob的问题,解决方法为: 在当前vhost的配置文件下加入 proxy_set_header Host $host; 即可...
2018-09-04 19:30:21
3897
原创 SpringCloud 编译错误:caught when processing request to {}->unix://localhost:80: Broken pipe
I/O exception (java.io.IOException) caught when processing request to {}->unix://localhost:80: Broken pipe 导致这个错误的原因是 project.artifactId 可能包含了大写。 代码: 报错: 改正后:...
2018-09-04 19:28:14
9220
原创 BASE64编码简介
BASE64是一种常用的可逆编码形式,常用于把二进制编码转换为字符形式的数据。编码后的字符串包含a-z、A-Z、0-9、+、/,共64个字符。64个字符需要用6位来表示,从0开始表示成数字0-63。【其实共有65个字符,“=”是填充字符,后面会说到。】 码值 字符 码值 字符 码值 字符 码值 字符 0 ...
2018-09-04 19:25:35
458
原创 新浪短地址API
对应的URL请求地址为: XML: http://api.t.sina.com.cn/short_url/shorten.xml JSON: http://api.t.sina.com.cn/short_url/shorten.json 请求方式: GET 请求参数: source: 应用的APPKEY; url_long: 需要转换的长链接。 实例: XML: ht...
2018-09-04 19:20:55
587
原创 NGINX 中 SERVER 的匹配顺序
在开始处理一个http请求时,nginx会取出header头中的host,与nginx.conf中每个server的server_name进行匹配,以此决定到底由哪一个server块来处理这个请求。 server_name与host匹配优先级如下: 1、完全匹配 2、通配符在前的,如*.test.com 3、在后的,如www.test.* 4、正则匹配,如~^\.www\.test\.co...
2018-09-04 19:18:57
653
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人