Is it possible to embed nginx in a C/C++ application Is it possible to embed nginx in a C/C++ application nginx nginx

Is it possible to embed nginx in a C/C++ application


Does nginx run on windows?

I think you'd have a much better result using an existing library that includes a good http server. My first choice would be libevent.


Windows version of Ngnix isn't open sourced due to low quality of source code; it's just for testing/development.

For Linux and *BSD, you can embed your C/C++ application into Nginx by using module API. But if you want to stay in your application, libev and libeio is your friend.