openresty / openresty/lua-nginx-module
cant not in header_filter_by_lua , use ngx.req.set_header() func???
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11.8k
- Forks
- 2.1k
- Avg merge
- 6h 1m
- Merged PRs (30d)
- 6
Description
i want to use ngx.req.set_header to reset request header,use $upstream_addr variables,
but i try ,then not effect ,please tell me how to do this? tks
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 header_filter_by_lua entry point and the ngx.req.set_header() API, then check how the $upstream_addr variable is exposed in that phase. Reproduce the reported attempt and determine whether the request header is changed; done means documenting or correcting the behavior so the reset has an observable effect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, nginx
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100