4 ms·
I've recently looked at extending Nginx for my own gains. This has several advantages over such frameworks. For example, you can serve both flat files and dynam
by alexchamberlain 15y ago
I've recently looked at extending Nginx for my own gains. This has several advantages over such frameworks. For example, you can serve both flat files and dynamic (C) content using the same server. I suspect, security is slightly better too, since Nginx manage process security etc.
- al3xbio 15y agoOn the other hand it would make your applications nginx-specific, right? (which is a problem only if don't like to get stuck with a single web server).
- alexchamberlain 15y agoYeah, I don't see that being a massive problem. I've just started to develop a RESTful interface for MongoDB, which, if done correctly, could utilise the same code for an Apache module and an Nginx module... Let's see how it goes.
- pjscott 15y agoAnother possibility is to make your C program handle requests over ZeroMQ and stick it behind Mongrel2: http://mongrel2.org/ http://mongrel2.org/
- alexchamberlain 15y agoI'll look at this in the future, however, there are a few issues on GitHub that I would like to see solved first, including the abolition of all warnings on compilation.