随笔分类 -  Apisix

摘要:报错内容 2024/08/06 16:56:13 [error] 154236#154236: *7039 [lua] plugin.lua:110: load_plugin(): failed to load plugin [ldap-auth] err: error loading module 阅读全文
posted @ 2024-08-06 18:47 醒日是归时 阅读(130) 评论(0) 推荐(0) 编辑
摘要:负载均衡 可以给 rest api(9080)做负载均衡 不可以给dashboard做负载均衡,否则会出现闪退,dashboard之间的token并不是通用的 路由导出 openapi 路由导出openapi,备份丢失的时候,可以直接导入数据,丢失的上游数据在新导入的路由里会变成手动数据,路由信息里 阅读全文
posted @ 2024-06-13 15:05 醒日是归时 阅读(74) 评论(0) 推荐(0) 编辑
摘要:etcd 版本 # etcdctl version etcdctl version: 3.5.1 API version: 3.5 问题 在 执行 etcdctl --endpoints=http://127.0.0.1:2379 defrag命令时,可能遇到错误: {"level":"warn", 阅读全文
posted @ 2024-06-12 18:34 醒日是归时 阅读(290) 评论(0) 推荐(0) 编辑
摘要:安装版本 # lua -v Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio # apisix version /usr/local/openresty//luajit/bin/luajit /usr/local/apisix/apisix/cli 阅读全文
posted @ 2024-06-06 14:36 醒日是归时 阅读(74) 评论(0) 推荐(0) 编辑
摘要:1. 怎么定义ngx自定义变量 ngx.var.custom_var nginx_config: # config for render the template to generate nginx.conf ... ... ... http_server_configuration_snippet 阅读全文
posted @ 2024-01-15 16:31 醒日是归时 阅读(147) 评论(0) 推荐(0) 编辑
摘要:[TOC] # 插件开发 此文档是关于 lua 语言的插件开发,其他语言请看:external plugin。 ## 插件放置路径 Apache APISIX 提供了两种方式来添加新的功能。 修改 Apache APISIX 的源代码并重新发布 (不推荐)。 配置 extra_lua_path 和 阅读全文
posted @ 2023-08-23 14:35 醒日是归时 编辑
摘要:luasql 编译安装 查看mysql配置,注意 lmysqlclient 路径 [root@hmy luasql-master]# yum install mysql-devel gcc* -y [root@hmy luasql-master]# mysql_config Usage: /usr/ 阅读全文
posted @ 2022-09-19 00:43 醒日是归时 阅读(150) 评论(0) 推荐(0) 编辑
摘要:问题:apisix 转发 路由自动encode导致带中括号的文件下载404 原因:因为apisix 解码后tomcat处理会有问题,下载不了 解决方案:请求改写 协议,选择保持原样 阅读全文
posted @ 2022-08-30 17:23 醒日是归时 阅读(77) 评论(0) 推荐(0) 编辑
摘要:APISIX yum install -y apisix-2.12.1-0.el7.x86_64.rpm yum install -y cyrus-sasl-devel-2.1.26-23.el7.x86_64.rpm yum install -y openresty-pcre-8.44-1.el7 阅读全文
posted @ 2022-05-27 01:07 醒日是归时 阅读(3217) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示