cross.lua definition of nginx port
Open
- Dominant language
- JavaScript
- Stars
- 80
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
It looks like the port [1] can be obtained by using:
ngx.var.server_port
[1] http://nginx.org/en/docs/http/ngx_http_core_module.html#var_server_port
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading cross.lua and the referenced nginx documentation for ngx.var.server_port. Confirm how the current port is defined there, then update the definition to use the nginx-provided value; done means the cross.lua port reflects the configured server port.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, nginx
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100