<div dir="ltr">I want to create a CLI app (in this case named CLI_APP), that will output json and can be accessed via web.<br><br>In Linux terms, it will look like:<br><br>Request | Web_Server | CLI_APP | ADD_UI | Web_Server > Response<br><br>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).<br><br>Here, `ADD_UI --output web` will add HTML, CSS, JS etc. to the JSON output.<br><br>Can Nginx help me send the requests to CLI_APP via STDIN and serve the final output of ADD_UI --output web?<div><br>Thanks and Best Regards,<br>Ahmad Ismail</div></div>