<div dir="ltr"><div><div><div><div>Hello everyone,<br><br></div>I am in the process of creating a module that connects to the outside to exchange data with another service, I am taking as inspiration the mail_module and the upstream module, basically my module is connecting using the ngx_event_connect_peer and handling the read and write events properly. I have 2 questions:<br><br>Is this the proper way to make a module connecting to the outside?<br></div>Would it be possible to use nginx primitives to connect through SSL?<br><br></div>Thanks a lot,<br></div>Antonio<br></div>