2

With apache ,I just put my binary under cgi-bin,how about nginx?

Does it support cgi at all?

kernel
  • 8,561
  • 6
  • 20
  • 14

2 Answers2

4

Nginx does not support CGI, because it does not spawn external processes. This is a design decision: Nginx is a high-performance web server and spawning an external process is rather expensive operation.

Alexander Azarov
  • 3,550
  • 21
  • 19
0

It does support FastCGI and UWSGI, though.

sendmoreinfo
  • 1,772
  • 13
  • 34