Nginx 3d module context configuration

Ranier Vf ranier.vf at
Mon Jun 13 21:12:29 UTC 2016


I writing own nginx module, that connect via tcp, with external server.
What is correct place to put variables configuration?

SRV, MAIN or LOC contexts?

Inside handler, I need get conn variable, to execute external request.

In NIXs, we can have defaults 512 workers connections.
The correct is have 512 own conn variables, one for each worker?

Best regards,

Ranier Vilela

de vírus.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list