JAVA和Nginx 教程大全

网站首页 > 精选教程 正文

Kong 配置讲解之十三——开发与其他相关属性详解

wys521 2024-10-23 15:24:39 精选教程 36 ℃ 0 评论

从lua-nginx-module继承的附加设置允许更灵活和高级的使用。

更多信息请参考lua-nginx-module文档:https://github.com/openresty/lua-nginx-module

lua_ssl_trusted_certificate

PEM格式的Lua cosockets证书权威文件的绝对路径。

当启用pg_ssl_verify或cassandra_ssl_verify时,此证书将用于验证Kong的数据库连接。

请参考:https://github.com/openresty/lua-nginx-module#lua_ssl_trusted_certificate

默认值:none


lua_ssl_verify_depth

设置Lua cosockets使用的服务器证书链中的验证深度,证书由lua_ssl_trusted_certificate设置。

这包括为Kong的数据库连接配置的证书。

请参考:https://github.com/openresty/lua-nginx-module#lua_ssl_verify_depth

默认值:1


lua_package_path

设置Lua模块搜索路径(LUA_PATH)。当开发或使用未存储在默认搜索路径中的自定义插件时非常有用。

请参考:https://github.com/openresty/lua-nginx-module#lua_package_path

默认值:./?.lua;./?/init.lua;


lua_package_cpath

设置Lua C模块搜索路径。

请参考:https://github.com/openresty/lua-nginx-module#lua_package_cpath

默认值:none


lua_socket_pool_size

指定与每个远程服务器关联的每个cosocket连接池的大小限制。

请参考:https://github.com/openresty/lua-nginx-module#lua_socket_pool_size

默认值:30

Tags:

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

最近发表
标签列表