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/05/26 07:07:21 UTC

[GitHub] [apisix] vincentwc edited a comment on issue #4307: request help: 创建一个路由的时候,是怎么走到apisix/admin/routes.lua的_M.put方法的啊?

vincentwc edited a comment on issue #4307:
URL: https://github.com/apache/apisix/issues/4307#issuecomment-848482627


   > The interface of `/apisix/admin/*` is initialized in the `apisix/admin/init.lua` file. For details, please see: https://github.com/apache/apisix/blob/master/apisix/admin/init.lua
   
   i looked nginx.conf in /apisix/conf/nginx.conf , i don.t know how to use some settings
   such as 
   one :  env APISIX_PROFILE;  What is the function of this parameter
         I have find it in docs/zh/latest/profile.md,but how to set APISIX_PROFILE = prod?
   two:  show as my picture ,why the obj  apisix could call init.lua when function  _M.init_http is defined local _M ? 
   ![image](https://user-images.githubusercontent.com/31959888/119609231-da47b080-be29-11eb-8a6b-a96cc58cda60.png)
   


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

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