unit icon indicating copy to clipboard operation
unit copied to clipboard

CGI Support

Open doc987 opened this issue 7 years ago • 2 comments

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).

doc987 avatar Dec 30 '18 04:12 doc987

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.

VBart avatar Jan 09 '19 16:01 VBart

Hi @doc987 @VBart

I just made a cgi plugin for nginx. https://github.com/pjincz/nginx-cgi

Please let me know if it fit all your requirements.

pjincz avatar Jan 29 '25 04:01 pjincz