logoalt Hacker News

Levitating • today at 4:55 PM • 3 replies • view on HN

CGI is great. Sadly nginx doesn't support it natively as opposed to lighttpd.

I like this project for adding CGI to nginx: https://github.com/pjincz/nginx-cgi

There's also methods of starting Rack applications directly form nginx via passenger[1]. Rack is the CGI like interface for ruby webapps: https://github.com/rack/rack It easily allows for writing applications and middleware with a few lines of ruby.

[1]: https://www.phusionpassenger.com/documentation/Users%20guide...


Replies

huijzer • today at 6:29 PM

But the real question is, does Caddy support it?

The answer is: it does but via community plugins.

synergy20 • today at 6:23 PM

I just use lighttpd

BirAdam • today at 5:00 PM

fastcgi wrap.