Firstsawyou commented on issue #4307:
URL: https://github.com/apache/apisix/issues/4307#issuecomment-848529402


   > one : env APISIX_PROFILE; What is the function of this parameter
   
   Please see here: 
https://github.com/apache/apisix/blob/master/docs/en/latest/profile.md
   
   > show as my picture ,why the obj apisix could call init.lua when function 
_M.init_http is defined local _M ?
   
   Corresponding files will be loaded from the path defined by 
`lua_package_path` (for example: apisix/init.lua, apisix.lua), you can 
understand the use of lua_package_path, you will be clear.
   
   
https://github.com/apache/apisix/blob/f7c6f4fff765116898d48de0e07eb3728f36ee0d/apisix/cli/ngx_tpl.lua#L60-L61


-- 
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:
us...@infra.apache.org


Reply via email to