I
I
Ingerniated2017-05-30 21:01:42
Nginx
Ingerniated, 2017-05-30 21:01:42

How to install nginx on windows?

Guys, tell me what to do?
I downloaded the installer archive, nginx.exe closes immediately after launch.
nginx.org/ru/docs/configure.html
I read this section, but how to run this whole thing?

./configure
    --sbin-path=/usr/local/nginx/nginx
    --conf-path=/usr/local/nginx/nginx.conf
    --pid-path=/usr/local/nginx/nginx.pid
    --with-http_ssl_module
    --with-pcre=../pcre-8.40
    --with-zlib=../zlib-1.2.11

It gives an error that there is no such command when I tried to call it from the folder with the unzipped nginx.
Or maybe I misunderstood something?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zakharov Alexander, 2017-05-30
@Ingernirated

This is the build command for linux. This will not work under Windows. Download the binary Windows package and work with it: nginx.org/ru/download.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question