Nick
Nick
> 定义页眉页脚格式 html不生效 是怎样定义的?
@jianmaikj 目前kong 对 go 插件上支持有 bug,运行时间长会出现死锁,千万服务卡死。不建议使用 golang 写 kong 插件
> 這個插件很不錯,學習了。想請問該怎麼理解以下插件的限流條件呢?謝謝 > 是 header =[orderId1,orderId2,orderId3], or query=[orderId1,orderId2,orderId3] or body=[orderId1,orderId2,orderId3] 則限流嗎? > > ```json > { > "type": "header,query,body", > "key": "orderId", > "value": "orderId1,orderId2,orderId3" > } > ``` 是的哦,or的关系,但是如果是分开写的话,默认是and关系(Config.MatchCondition...
> docker run --rm --name kong-rate-limiting-plugin-golang 指定了端口映射,而我本机上8444和8443给了kong使用,我这将8443和8444改成其他端口号,是否有影响? 没影响
是不是环境问题?你是在docker编译的go-pluginserver还是复制进去的?
这样不行的,要在docker里面去build
你直接clone项目后,执行make build-centos 就能构建了
> [http://www.lampnick.com/php/950你写的这篇文章里面:](http://www.lampnick.com/php/950%E4%BD%A0%E5%86%99%E7%9A%84%E8%BF%99%E7%AF%87%E6%96%87%E7%AB%A0%E9%87%8C%E9%9D%A2%EF%BC%9A) > 获取编译基础镜像(Go插件是使用-buildmode=plugin标志编译的,该标志允许插件服务器动态加载它们。) > docker pull kong/go-plugin-tool:latest-centos-7 没明白是做什么用的。 > 另外,我在kong的容器内go build,提示go不存在。 > 你有没有详细点的过程讲解呢? 为了保证环境一致性
> �[31m[ERRO]�[0m 2024/05/24 17:45 http: Server closed �[41m[FTAL]�[0m 2024/05/24 17:45 start doctron failed. %vhttp: Server closed Failed access to font dir: neither $XDG_CONFIG_HOME nor $HOME are defined Failed access to...