bfforever / nginx

An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html

Home Page:http://nginx.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compile

yum install -y pcre pcre-devel

yum install -y zlib zlib-devel

yum install -y openssl openssl-devel

vim auto/cc/conf

modify line ngx_compile_opt="-c -g"

mkdir install

./auto/configure --prefix=install

make

install

make install

start

vim conf/nginx.conf

modify line user root;

cd install

./sbin/nginx -c ../conf/nginx.conf

About

An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html

http://nginx.org/


Languages

Language:C 97.5%Language:Vim Script 1.8%Language:XS 0.4%Language:Perl 0.1%Language:Makefile 0.1%Language:Shell 0.0%Language:C++ 0.0%