Hacker News new | ask | show | jobs
by user5994461 2565 days ago
Of course, for anything that is cgi/fastcgi. nginx doesn't support that.

There is also stuff running on mod_php/mod_python/mod_wcgi that is bound to apache, however these are deprecated and unstable technologies that should not be used in this decade.

1 comments

nginx supports fast cgi

https://www.nginx.com/resources/wiki/start/topics/examples/f...

I imagine it supports cgi calls too

Nginx does not support CGI, but you can for example use uWSGI as a application server behind nginx.
For reference, WSGI is python only, it's an interprocess communication method very similar to fastcgi with the same purpose.
Seems like it can work with others too, though I don't know how well: https://uwsgi-docs.readthedocs.io/en/latest/LanguagesAndPlat...
Reading that documentation page will tell you that nginx cannot spawn fastcgi processes ;)