Thank you very very much for taking the time to help me. On Sat, Jul 2, 2022 at 2:54 PM Francis Daly <francis@daoine.org> wrote: > On Thu, Jun 23, 2022 at 07:13:34PM +0600, Ahmad Ismail wrote: > > Hi there, > > > 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 > >by ismail783 - Nginx Mailing List - English
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:by ismail783 - Nginx Mailing List - English
I have bumped into CGI (after asking the question here). However, I have some issues with CGI. For example, I have to add HEADERS maintaining CRLF etc in the output. However, I want the CLI app to be totally independent. I mean, I want to output regular text or json without any header. So, what I really want is: CLI_APP | ADD_UI | ADD_CGI_HEADER Where CLI_APP gives me pure json. ADD_UI adds HTMby ismail783 - Nginx Mailing List - English
I want to create a CLI app (in this case named CLI_APP), that will output json and can be accessed via web. In Linux terms, it will look like: Request | Web_Server | CLI_APP | ADD_UI | Web_Server > Response Now, I will run the app like `CLI_APP --output json`. Here, I am saying that the CLI_APP will output json (for REST API). Here, `ADD_UI --output web` will add HTML, CSS, JS etc. to the Jby ismail783 - Nginx Mailing List - English
Dear Sergey Osokin, Thank you very much for the kind response. That is enough to get me started. *Thanks and Best Regards,Ahmad Ismail* On Thu, Oct 21, 2021 at 7:35 PM Sergey A. Osokin <osa@freebsd.org.ru> wrote: > Hi Ahmad, > > hope you're doing well these days. > > On Thu, Oct 21, 2021 at 11:54:05AM +0600, Ahmad Ismail wrote: > > I asked After Nginx Unit, Do we stby ismail783 - Nginx Mailing List - English
I asked After Nginx Unit, Do we still need ASGI like Uvicorn, Hypercorn, Daphne etc https://stackoverflow.com/q/69642063/1772898 There one comment confused me. The comment says: nginx unit is an ASGI compliant server; you're replacing > uvicorn/hypercorn/daphne/etc. with nginx unit instead. It's a choice you > make just like you'd make using either of those three or other alternatives. Iby ismail783 - Nginx Mailing List - English