Nginx (engine-X) is a light and fast web server to serve a static & dynamic web content. It has many features that can be enable from the modules. Witha lower memory consumption, it is the choice for a busy web server. Nginx can be configured to replace the popular Apache web server next time :) we are going to install Nginx with a basic configuration on FreeBSD 8.0. 1) Update your ports shell> cvsup -g -L 2 ports-supfile 2) Install from ports shell> cd /usr/ports/www/nginx shell> make configure shell> make install distclean Make sure you install modules that you required to use. 3) Enable at boot shell> nano /etc/rc.conf add : nginx_enable="YES" To start the nginx simply run this command : shell> /usr/local/etc/rc.d/nginx start Configuration file : /usr/local/etc/nginx/nginx.conf Log file : /var/log/nginx-error.log /var/log/nginx-access.log Document root : /usr/local/www/nginx yatta~
Don't look your past, but look your future