Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (11 sloc) 579 Bytes
NGINX_DIR=../nginx-1.0.11
TMPDIR=/tmp/nginx
default: build
configure:
cd $(NGINX_DIR) && ./configure --with-debug --pid-path=$(TMPDIR)/nginx.pid --error-log-path=$(TMPDIR)/error.log --http-log-path=$(TMPDIR)/access.log --http-client-body-temp-path=$(TMPDIR)/cbt --http-proxy-temp-path=$(TMPDIR)/proxy --http-fastcgi-temp-path=$(TMPDIR)/fast --http-uwsgi-temp-path=$(TMPDIR)/uwsgi --http-scgi-temp-path=$(TMPDIR)/scgi --add-module=../nginx-captcha-module
build:
cd $(NGINX_DIR) && make -j2
start: build
rm -rf $(TMPDIR)
mkdir -p $(TMPDIR)
$(NGINX_DIR)/objs/nginx -p .
Jump to Line
Something went wrong with that request. Please try again.