摘要: 插件说明 基于jwt-auth插件,新增了password字段和相应的逻辑判断。 jwt-diy的属性表如下: 名称 类型 必选项 默认值 有效值 描述 key string 必须 不同的 consumer 对象应有不同的值,它应当是唯一的。不同 consumer 使用了相同的 key ,将会出现请 阅读全文
posted @ 2021-08-13 14:49 午默 阅读(1867) 评论(0) 推荐(1) 编辑
摘要: 插件说明 基于radixtree_sni路由插件,使用port字段而非sni进行路由选择。 radixtree_port依赖的SSL属性如下: 名字 可选项 类型 说明 示例 cert 必需 证书 https 证书 key 必需 私钥 https 证书私钥 port 必需 匹配规则 需要匹配的端口 阅读全文
posted @ 2021-08-13 11:37 午默 阅读(2282) 评论(0) 推荐(0) 编辑
摘要: 自签名证书生成 # 生成自签名证书的私钥ca.key openssl genrsa -out ca.key 2048 # 生成自签名证书ca.crt openssl req -new -x509 -days 365 -key ca.key -out ca.crt 使用自签名证书签名服务器证书 # 生 阅读全文
posted @ 2021-07-29 17:38 午默 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 基于centos容器运行etcd集群,默认2379端口是客户监听端口,2380是集群监听端口 centos下的单节点etcd运行可见https://www.cnblogs.com/cn-wumo/p/15066932.html docker run –name etcd_1 –p 12379:237 阅读全文
posted @ 2021-07-27 17:24 午默 阅读(597) 评论(0) 推荐(0) 编辑
摘要: 首先是从官网下载etcd所需的工具 yum install wget -y 使用wget下载压缩文件 wget https://github.com/etcd-io/etcd/releases/download/v3.5.0/etcd-v3.5.0-linux-amd64.tar.gz 更多的版本可 阅读全文
posted @ 2021-07-27 17:11 午默 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 1、获取 Sentinel 控制台 1.1 下载编译后压缩包方式(推荐) 下载地址 1.2 从Github上下载源码 源码地址 2、启动 Sentinel 控制台 2.1 linux模式 java -Dserver.port=8080 \ -Dcsp.sentinel.dashboard.serve 阅读全文
posted @ 2021-05-01 16:32 午默 阅读(3401) 评论(0) 推荐(0) 编辑
摘要: 1、Nacos Server下载和安装 1.1 从Github上下载源码(可选) git clone https://github.com/alibaba/nacos.git cd nacos/ mvn -Prelease-nacos -Dmaven.test.skip=true clean ins 阅读全文
posted @ 2021-04-30 23:45 午默 阅读(455) 评论(0) 推荐(0) 编辑