<div dir="ltr"><div><div>Hi,<br><br></div>I writing own nginx module, that connect via tcp, with external server.<br></div><div>What is correct place to put variables configuration?<br><br></div><div>SRV, MAIN or LOC contexts?<br><br></div><div>Inside handler, I need get conn variable, to execute external request.<br><br></div><div>In NIXs, we can have defaults 512 workers connections.<br></div><div>The correct is have 512 own conn variables, one for each worker?<br><br></div><div>Best regards,<br><br></div><div>Ranier Vilela<br></div></div><div id="DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top:1px solid #d3d4de">
        <tr>
      <td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/2016/icons/icon-envelope-tick-round-orange_184x116-v1.png" height="29px"></a></td>
                <td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Livre de vĂ­rus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank" style="color:#4453ea">www.avast.com</a>.             </td>
        </tr>
</table>
<a href="#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>