Giter Site home page Giter Site logo

Comments (10)

zqzjz0911 avatar zqzjz0911 commented on May 29, 2024

using vs 2008 command line and goto directory src/nginx . run nmake to build it.
if you just want to use it . you can download through this url
32 bit: http://pan.baidu.com/s/1kUYTLkj
64 bit: http://pan.baidu.com/s/1qXZz82S

thx

from nginx-openresty-windows.

lihui0213 avatar lihui0213 commented on May 29, 2024

I want to set the udp proxy on,then,In nginx/auto/options,I change STREAM=NO to STREAM=YES,I use nmake to build it,but this is not support udp proxy,it is prompt the udp is not support。
and the 64 bit is not linked.Is there any guide how to build it?

from nginx-openresty-windows.

zqzjz0911 avatar zqzjz0911 commented on May 29, 2024

in this release files, nginx is built with configure arguments: --with-stream

so, it support stream module .please download:
32 bit: http://pan.baidu.com/s/1kUYTLkj
64 bit: http://pan.baidu.com/s/1qXZz82S

from nginx-openresty-windows.

lihui0213 avatar lihui0213 commented on May 29, 2024

In the nginx.conf,I add stream module:

stream {

upstream cloudsocket {

    hash $remote_addr consistent;

    server 192.168.202.91:4321 weight=5 max_fails=3 fail_timeout=30s;

}

 upstream cloud {

    server 192.168.202.91:4444;

}


server {

    listen 2014;

    proxy_connect_timeout 1s;

    proxy_timeout 3s;

    proxy_pass cloudsocket;

}


server {
    listen 53 udp;
    proxy_responses 1;
    proxy_timeout 20s;
    proxy_pass cloud;
}

}

but to run the nginx.exe ,the error.log prompt
[emerg] 9412#9740: the invalid "udp" parameter in D:\Openresty_For_Windows_1.9.15.1001_64Bit\nginx/conf/nginx.conf:152

I want to known how to build the openresty on windows, Maybe later I will add any module.

thank you!

from nginx-openresty-windows.

zqzjz0911 avatar zqzjz0911 commented on May 29, 2024

offical nginx does not support udp in windows now.

from nginx-openresty-windows.

lihui0213 avatar lihui0213 commented on May 29, 2024

The issue udp proxy in windows,Are there any plan to fix it?

from nginx-openresty-windows.

zqzjz0911 avatar zqzjz0911 commented on May 29, 2024

i have no idea about that now.

from nginx-openresty-windows.

lihui0213 avatar lihui0213 commented on May 29, 2024

hello,zqzjz0911。
In nginx-openresty-windows-master\src\nginx,I use nmake to build the project,then build the 32-bit success.but I rename the MakefileW64 to Makefile,then I build the 64-bit,than is any faild,like this:
已完成库搜索
nginx.obj : error LNK2019: 无法解析的外部符号 _SSLeay_version,该符号在函数 _ngx_show_version_info 中被引用
ngx_crypt.obj : error LNK2019: 无法解析的外部符号 _SHA1_Init,该符号在函数 _ngx_crypt_sha 中被引用
ngx_http_set_hash.obj : error LNK2001: 无法解析的外部符号 _SHA1_Init
ngx_http_lua_string.obj : error LNK2001: 无法解析的外部符号 _SHA1_Init
ngx_crypt.obj : error LNK2019: 无法解析的外部符号 _SHA1_Update,该符号在函数 _ngx_crypt_sha 中被引用
ngx_http_set_hash.obj : error LNK2001: 无法解析的外部符号 _SHA1_Update
ngx_http_lua_string.obj : error LNK2001: 无法解析的外部符号 _SHA1_Update
ngx_crypt.obj : error LNK2019: 无法解析的外部符号 _SHA1_Final,该符号在函数 _ngx_crypt_sha 中被引用
ngx_http_set_hash.obj : error LNK2001: 无法解析的外部符号 _SHA1_Final

please ask me how can I build 64-bit system

my system is 64-bit win7.

from nginx-openresty-windows.

zqzjz0911 avatar zqzjz0911 commented on May 29, 2024

please use "%comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86_amd64" to build 64bit nginx

from nginx-openresty-windows.

zqzjz0911 avatar zqzjz0911 commented on May 29, 2024

version:1.9.15.1002 support udp in windows.
please download it through these urls:

32 bit: http://pan.baidu.com/s/1bpsjbAJ
64 bit: http://pan.baidu.com/s/1slw0ppN

from nginx-openresty-windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.