Embed Nginx as a static library with C++ application

Hi,

I wish to embed Nginx as a static library with my C++ application.
Whether Nginx will support work on both Windows and Linux. I tried to
download the Nginx source and I can only Nginx.exe and have steps to
run that exe. I have also tried to download the Nginx source files from
a tar file and face some compilation issues in Windows OS.

I dont want to use such applications like FastCGI with Nginx. I wish to
just embed as a static library in my cpp application and wish to call
from my c++ itself. Is it possible?

Could any one point me to a documentation for this or with any sample
source code to do it.

Thanks in advance

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,56882,56882#msg-56882

rahul123 ha scritto:

Hi,

I wish to embed Nginx as a static library with my C++ application. Whether Nginx will support work on both Windows and Linux. I tried to download the Nginx source and I can only Nginx.exe and have steps to run that exe. I have also tried to download the Nginx source files from a tar file and face some compilation issues in Windows OS.

I dont want to use such applications like FastCGI with Nginx. I wish to just embed as a static library in my cpp application and wish to call from my c++ itself. Is it possible?

Nginx is a server.
It’s usually the server that embeds application code.

Manlio

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs