<div dir="ltr">will it be a bad idea to extend nginx (ex. create a module) to serve my purpose instead of using inetd? Is it possible to make a module that will give the HTTP request to `Command1 | Command2 | CommandN`,  then build a response from the output (by adding HTTP response message to it) and then send the response back to the client.<div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><b style="font-weight:normal"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Thanks and Best Regards,</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Ahmad Ismail</span></p></b></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 22, 2022 at 11:24 PM Lyndon Nerenberg (VE7TFX/VE6BBM) <<a href="mailto:lyndon@orthanc.ca">lyndon@orthanc.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ahmad Ismail writes:<br>
<br>
> Can Nginx help me send the requests to CLI_APP via STDIN and serve the<br>
> final output of ADD_UI --output web?<br>
<br>
I think what you're looking for here is inetd.<br>
<br>
--lyndon<br>
</blockquote></div>