Re: Modern alternative to CGI/FastCGI

2021-08-10 Thread Thomas Ward
Why not build your C++ backend to have a web listener that you can handle responses directly with?  Typically speaking, a lot of REST APIs I see are designed to accept HTTP and then have nginx or similar reverse_proxy requests to them to the API is (indirectly) exposed to port 80 (HTTP) or 443

Modern alternative to CGI/FastCGI

2021-08-10 Thread Viete
Hello, I am using nginx and trying to add REST API. I need to have C++ backend respond to the REST API calls. What are my modern options other than CGI/FastCGI old technology that seems to be unmaintained anymore. Thank you! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,292183,29218