# Compile nginx for windows

**URL:** <https://www.ruby-forum.com/t/compile-nginx-for-windows/205988>\
**Category:** NGINX\
**Created:** [April 20, 2011, 4:05am UTC](https://www.ruby-forum.com/t/compile-nginx-for-windows/205988 "2011-04-20T04:05:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [April 20, 2011, 4:05am UTC](https://www.ruby-forum.com/t/compile-nginx-for-windows/205988/1 "2011-04-20T04:05:36Z")

</div>

Hi,all:

```
   I have an urgency task and I need to compile nginx with my own

```

http moudle for windows,I know cygwin can help me but if i want to use  
nginx on windows independent of the .dll file of cygwin,I need only  
one .exe file ,what should I do?Thank you very much.

Posted at Nginx Forum:

> **[compile nginx for windows](https://forum.nginx.org/read.php?2,192475,192475#msg-192475)**
>
> Hi,all: I have an urgency task and I need to compile nginx with my own http moudle for windows,I know cygwin can help me but if i want to use nginx on windows independent of the .dll file of cygwin,I need only one .exe file ,what should I do?Thank...

---

<div class="post-metadata">

**Author:** ![xinghua\_hi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/67e7ee/32.png) [@xinghua\_hi](https://www.ruby-forum.com/u/xinghua_hi)\
**Post date:** [April 20, 2011, 8:59am UTC](https://www.ruby-forum.com/t/compile-nginx-for-windows/205988/2 "2011-04-20T08:59:13Z")

</div>

On Tue, Apr 19, 2011 at 10:05:14PM -0400, xinghua\_hi wrote:

> Hi,all:
> 
> ```
> I have an urgency task and I need to compile nginx with my own
> 
> ```
> 
> http moudle for windows,I know cygwin can help me but if i want to use  
> nginx on windows independent of the .dll file of cygwin,I need only  
> one .exe file ,what should I do?Thank you very much.

nginx/Windows sources are available in SVN, however, I do not want  
to support a builing procedure.

–  
Igor S.

---

<div class="post-metadata">

**Author:** ![xinghua\_hi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/67e7ee/32.png) [@xinghua\_hi](https://www.ruby-forum.com/u/xinghua_hi)\
**Post date:** [August 12, 2011, 1:25pm UTC](https://www.ruby-forum.com/t/compile-nginx-for-windows/205988/3 "2011-08-12T13:25:41Z")

</div>

Hi.Igor S…

I need your help.I want to compile nginx for windows.Now,I had compile  
version 0.8.55,but, when I run it in WINDOWS 2003 SP2,it prints some  
errors,like this:

C:\nginx\>nginx.exe  
Auto configuration failed  
1772:error:02001015:system library:fopen:Is a  
directory:.\crypto\bio\bss\_file.c:  
126:fopen(‘e:/openssl/ssl/openssl.cnf’,‘rb’)  
1772:error:2006D002:BIO routines:BIO\_new\_file:system  
lib:.\crypto\bio\bss\_file.c  
:131:  
1772:error:0E078002:configuration file routines:DEF\_LOAD:system  
lib:.\crypto\con  
f\conf\_def.c:199:

So,Igor,Can you help me to resolve the problem?

Thanks a lot.

Posted at Nginx Forum:

> **[Re: compile nginx for windows](https://forum.nginx.org/read.php?2,192475,213731#msg-213731)**
>
> Hi,all: I have an urgency task and I need to compile nginx with my own http moudle for windows,I know cygwin can help me but if i want to use nginx on windows independent of the .dll file of cygwin,I need only one .exe file ,what should I do?Thank...
