how to config my own lua_shared_dict ? #6150
-
i have already add my config in config.yml ,but when i reload apisix, i can't find it in nginx.conf config-default.yml |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @Git4Future Where do you add your config? You should put it under Refer: apisix/conf/config-default.yaml Lines 231 to 232 in 66f66d4 |
Beta Was this translation helpful? Give feedback.
-
Hello there, please use ...
nginx_config:
...
custom_lua_shared_dict:
mydict: 10m
... |
Beta Was this translation helpful? Give feedback.
Hello there, please use
custom_lua_shared_dict
instead oflua_shared_dict
, and make sure you indent it correctly.It's hard to figure out what's going on in your case because of the description.
Normally, you should define your own
shared dict
in config.yaml, as follows