You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/26 11:13:24 UTC

[GitHub] [apisix] tokers commented on a change in pull request #4670: docs: Add some questions and answers to the FAQ

tokers commented on a change in pull request #4670:
URL: https://github.com/apache/apisix/pull/4670#discussion_r676510372



##########
File path: docs/zh/latest/FAQ.md
##########
@@ -549,4 +549,22 @@ apisix:
 ```
 
 **注意:**
-尝试使用 cosocket 连接任何TLS服务时,都需要配置 `apisix.ssl.ssl_trusted_certificate`
+
+尝试使用 cosocket 连接任何 TLS 服务时,如果 APISIX 不信任对端 TLS 服务证书,都需要配置 `apisix.ssl.ssl_trusted_certificate`。
+
+举例:在 APISIX 中使用 Nacos 作为服务发现时,Nacos 开启了 TLS 协议, 即 Nacos 配置的 `host` 是 `https://` 开头,需要配置 `apisix.ssl.ssl_trusted_certificate`,并且使用和 Nacos 相同的 CA 证书。
+
+## 如何解决 `module 'resty.worker.events' not found` 错误
+
+在 `/root` 目录下安装 APISIX 会导致这个问题。因为 worker 进程的用户是 nobody,无权访问 `/root` 目录下的文件。需要移动 APISIX 安装目录,推荐安装在 `/usr/local` 目录下。
+
+## `plugin-metadata` 和 `plugin-configs` 有什么区别
+
+`plugin-metadata` 是插件的元数据,所有插件实例共享。在编写插件时,如果有部分插件属性,属于所有插件实例共享,修改对所有插件实例生效,那么放在 `plugin-metadata` 合适。

Review comment:
       What is a "插件实例"




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org