acul posted on May 1, 2009 17:47

nginx [engine x] is a HTTP server, reverse proxy and mail proxy server written by Igor Sysoev.
It is a lightweight web server, licensed under a BSD-like license.
It the fifth most popular web server.

Update FreeBSD Ports Tree

Type the following command to update FreeBSD tree, enter:
# portsnap fetch update
FreeBSD Install Nginx Web Server

Type the following command to install Nginx web server:
# cd /usr/ports/www/nginx
# make install clean

Make sure you select important option such as REWRITE_MODULE, SSL_MODULE and others as per your requirements.
Turn on Nginx Webserver

Type the following command to turn on Nginx server
echo 'nginx_enable="YES"' >> /etc/rc.conf
To start Nginx, enter:
# /usr/local/etc/rc.d/nginx start
Important Information about Nginx Webserver

    * Nginx Default configuration file: /usr/local/etc/nginx/nginx.conf
    * Nginx Default http / https port: 80 / 443
    * Nginx Default error log file: /var/log/nginx-error.log
    * Nginx Default access log file: /var/log/nginx-access.log
    * Nginx Default DocumentRoot: /usr/local/www/nginx/
 

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Posted in: Web Server  Tags: , ,

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Comments

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading



Banners

Page List

Recent Posts

Recent Comments

RSS



Add to Google Reader or Homepage
Subscribe in NewsGator Online
Add to My AOL
Subscribe in Bloglines
Add to fwicki
Member Of
Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010 tutorial.ind.ws