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 2022/07/21 04:05:55 UTC

[GitHub] [apisix] tzssangglass commented on issue #7503: help request: 两个lua插件问题请教

tzssangglass commented on issue #7503:
URL: https://github.com/apache/apisix/issues/7503#issuecomment-1191013984

   > 1、在apisix的config.yaml中开启log-rotate插件会导致路由全部返回404,配置如图
   > ![image](https://user-images.githubusercontent.com/75060224/179923001-153a91c2-edd8-4af7-a62b-6b1105b7e061.png)
   > 只有在config-default.yaml中开启该插件才可以正常转发,其他插件是否这样没有试过。
   
   1. Your configuration in `config.yaml` is wrong.
   
   ```
   #plugins:
     - log-rotate
   ```
   
   You've commented out `plugins`
   
   
   2. Do not modify `config-default.yaml`, any changes should be made in `config.yaml`. The configuration of the same name in `config.yaml` will overwrite `config-default.yaml`.
   
   3. It is better to use text rather than images.


-- 
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