openresty / openresty/lua-nginx-module
init_by_lua during Nginx config test
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11.8k
- Forks
- 2.1k
- Avg merge
- 6h 1m
- Merged PRs (30d)
- 6
Description
So the issue is well explained here
init_by_lua is no longer run in Nginx config test??
I need this feature as well and I consider it to be very important for guaranteeing stability during Nginx reloads.
Here are some suggestions to be considered.
- Making running init_by_lua during "nginx -t" conditional by a directive
- Adding a new phase like config_test_by_lua therefore seperating it from init_by_lua, so resolving the reason why this feature was removed in the first place.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked discussion and the module's existing init_by_lua handling during nginx -t. Compare the conditional directive and config_test_by_lua proposals, including why the behavior was removed. Done means an agreed design and implementation that reliably covers Nginx reload validation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, nginx
- Domain
- backend, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100