Welcome! Log In Create A New Profile

Advanced

答复: Building Nginx from source for Windows

四弦
August 02, 2017 01:08AM
Hello,

The binary program built for Linux can't run directly on Windows.And the source of nginx is called a 'tarball',whose file structure is fit for Linux.To build it,you need Linux build tool chains.

The best solution is Cygwin,which is a program that allow you to use POSIX programs on Windows.Or if you use Windows10(Build 14393 and higher),you can consider to use Linux Subsystem On Windows.


________________________________
发件人: nginx <nginx-bounces@nginx.org> 代表 David Woodstuck <leeon2013@gmail.com>
发送时间: 2017年8月2日 12:35:45
收件人: nginx@nginx.org
主题: Building Nginx from source for Windows

I have two questions:

1. How do I build Nginx from source for Windows?

2. If I can build Nginx from source for one Window OS, can I copy Nginx into another Windows?

3. I have already build Nginx from for Linux because I need this module - https://github.com/yaoweibin/ngx_http_substitutions_filter_module. The build processs is the same for Linux and Windows(http://nginx.org/en/docs/configure.html).
Building nginx from Sourceshttp://nginx.org/en/docs/configure.html
nginx.org
Building nginx from Sources. The build is configured using the configure command. It defines various aspects of the system, including the methods nginx is allowed to ...


[https://avatars0.githubusercontent.com/u/153753?v=4&s=400]https://github.com/yaoweibin/ngx_http_substitutions_filter_module

GitHub - yaoweibin/ngx_http_substitutions_filter_module: a ...https://github.com/yaoweibin/ngx_http_substitutions_filter_module
github.com
ngx_http_substitutions_filter_module - a filter module which can do both regular expression and fixed string substitutions for nginx




Thanks,

David
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Building Nginx from source for Windows

David Woodstuck August 02, 2017 12:38AM

答复: Building Nginx from source for Windows

四弦 August 02, 2017 01:08AM

Re: Building Nginx from source for Windows

itpp2012 August 02, 2017 03:36AM

Re: 答复: Building Nginx from source for Windows

David Woodstuck August 02, 2017 09:16PM

答复: 答复: Building Nginx from source for Windows

四弦 August 03, 2017 12:44AM

Re: 答复: 答复: Building Nginx from source for Windows

David Woodstuck August 04, 2017 07:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 175
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready