﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
2461	Compile instructions for nginx web server	Aaron Mason	blfs-book@…	"1) Configure the server.

  ./configure --prefix=/usr --conf-path=/etc/nginx/nginx.conf \
    --error-log-path=/var/log/error.log --http-log-path=/var/log/access.log \
    --pid-path=/var/run/nginx.pid --lock-path=/var/lock \
    --http-fastcgi-temp-path=/tmp/fcgi --http-client-body-temp-path=/tmp/cb \
    --http-proxy-temp-path=/tmp/proxy
  
2) There are a lot of hard-coded paths in the Makefile.  These sets them to paths
   outside of the /usr tree.
  sed -i -e 's@/usr/logs@/var/log@g' -e 's@/usr/html@/var/www/nginx-default@g' \
    -e ""s@'/usr'@'/var/www/nginx-default'@g"" objs/Makefile
  sed -i -e 's@conf/mime.types@/etc/nginx/mime.types@g' -e 's@logs/@/var/log/@g' \
    -e 's@root   html;@root   /var/www/nginx-default;@g' conf/nginx.conf 

3) Compile and install
  make
  make install

4) Copy the base HTML files to the document root:
  cp html/* /var/www/nginx-default

5) Install nginx's init scripts.

I have enclosed a patch to add an init script for BLFS-bootscripts."	enhancement	closed	normal	x-future	BOOK	SVN	medium	wontfix		
