[prev in list] [next in list] [prev in thread] [next in thread]
List: nginx
Subject: Re: Can I serve CLI Applications using Nginx
From: Ahmad Ismail <ismail783 () gmail ! com>
Date: 2022-06-23 13:13:34
Message-ID: CAHAhJwKNBjBBa9=z2b_+BWTzHbi+F9Aa5TduU6JexusAkGY2gw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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.
*Thanks and Best Regards,Ahmad Ismail*
On Wed, Jun 22, 2022 at 11:24 PM Lyndon Nerenberg (VE7TFX/VE6BBM) <
lyndon@orthanc.ca> wrote:
> Ahmad Ismail writes:
>
> > Can Nginx help me send the requests to CLI_APP via STDIN and serve the
> > final output of ADD_UI --output web?
>
> I think what you're looking for here is inetd.
>
> --lyndon
>
[Attachment #5 (text/html)]
<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>
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic