Both handle HTTP requests, but nginx mostly forwards requests to other stacks.
Using Nginx modules and LuaJIT, you kind of can. OpenResty is a web framework built using this principle.
Both handle HTTP requests, but nginx mostly forwards requests to other stacks.