huanghuang0913 commented on issue #12774:
URL: https://github.com/apache/apisix/issues/12774#issuecomment-3611019963

   Locate the configuration file conf/config.yaml:
   
   Modify the configuration:
   In that file, find the nginx_config section and add the lua_shared_dict 
directives under the http_configuration_snippet option. Example:
   
   '''
   nginx_config:
     # other settings...
     http_configuration_snippet: |
       # shared memory for the prometheus plugin
       lua_shared_dict prometheus-cache 10m;
       # if you need other plugins (e.g. openid-connect), declare their shared 
memory here as well
       # lua_shared_dict discovery 1m;
       # lua_shared_dict jwks 1m;
       # lua_shared_dict introspection 10m;
   '''
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to