nginx / unit

NGINX Unit - universal web app server - a lightweight and versatile open source server that simplifies the application stack by natively executing application code across eight different programming language runtimes.
https://unit.nginx.org
Apache License 2.0
5.29k stars 325 forks source link

CGI Support #208

Open doc987 opened 5 years ago

doc987 commented 5 years ago

Is it possible to use CGI programs with nginx unit? For example, a git smart HTTP server (https://git-scm.com/book/en/v2/Git-on-the-Server-Smart-HTTP).

VBart commented 5 years ago

Currently Unit does not support running CGI binaries natively. But it's possible to write a wrapping script, that will execute CGI binary. Such script can be written in any language supported by Unit.