3 ms·
I would use lighttpd for that as it supports fcgi natively, nginx is really odd for fcgi in my opinion, not to mention, lighttpd is only 4MB in memory
by ausjke 6y ago
I would use lighttpd for that as it supports fcgi natively, nginx is really odd for fcgi in my opinion, not to mention, lighttpd is only 4MB in memory
- eiy5weiN 6y agoI _think_ I checked it but didn't find any way to run cgi apps, only fastcgi (maybe I should check again, I'm not 100% sure about that). Although, now that I understand fastcgi better, I guess fcgiwrap could be adapted for lighttpd, if it doesn't work for it as is (my package manager's description mentions explicitly it's for nginx). Thanks for the advice, I'll dig that.
- ausjke 6y agolighttpd works well for cgi directly https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModCGI#Examples https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_Mod... and for fcgi as well, without fcgiwrap at all: https://github.com/jerryvig/lighttpd-fastcgi-c https://github.com/jerryvig/lighttpd-fastcgi-c
- mro_name 6y agolighttpd here: https://demo.0x4c.de/geohash.cgi/u28br https://demo.0x4c.de/geohash.cgi/u28br
- account42 6y agonginx can do fcgi natively too, fcgiwrap is a fcgi application that forwards requests to cgi scripts.