Skip to content

how to config my own lua_shared_dict ? #6150

Answered by leslie-tsang
Git4Future asked this question in Q&A
Discussion options

You must be logged in to vote

Hello there, please use custom_lua_shared_dict instead of lua_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

...
nginx_config:
    ...
    custom_lua_shared_dict:
        mydict: 10m
...

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Git4Future
Comment options

Comment options

You must be logged in to vote
2 replies
@Git4Future
Comment options

@leslie-tsang
Comment options

Answer selected by Git4Future
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants