啥也没写
发布时间:2021-08-09 14:48:53
创建目录mkdir -p cobratestcd cobratest/go mod init cobratestgo get -u github.com/spf13/cobra/cobracobra init --pkg-name cobratest添加命令cobra add addtree ..├── cmd│ └── root.go├── go.mod├── go.sum├── LICENSE└── main.go1 directory, 5 filesgo build.........【阅读全文】
发布时间:2021-08-04 11:45:37
官方:https://github.com/akin520/nginx_cache_file配置如下:点击(此处)折叠或打开server { listen 443; # 监听端口 server_name m.demo.cn; # 站点域名 .........【阅读全文】
发布时间:2021-07-22 11:08:55
使用nginx lua在添加header头的时候,报错误,如下2021/07/22 10:52:03 [error] 21260#0: *12944 attempt to set ngx.header.HEADER after sending out response headers, client: 10.1.102.212, server: , request: "GET /list/3830/ HTTP/1.1", host: "10.1.103.251:8182"set ngx.header.HEADER after sending out respo.........【阅读全文】
发布时间:2021-07-06 09:20:27
listen redis-write bind 192.168.2.116:16379 balance leastconn mode tcp option tcp-check tcp-check connect tcp-check send PING\r\n tcp-check expect string PONG tcp-check send info\ replicat.........【阅读全文】
发布时间:2021-07-06 09:08:28
下载安装wget github.com/joyieldInc/predixy/archive/refs/tags/1.0.5.tar.gztar -zxvf 1.0.5.tar.gzyum install libstdc++-static -ycd predixy-1.0.5makemkdir -p /usr/local/predixy/bincp src/predixy /usr/local/predixy/bin/cp -a conf/ /usr/local/predixy/配置如下cat conf/predixy.conf |grep -Ev "^#.........【阅读全文】