Archive for the ‘nginx’ Category

Ruby On Rails Hosting -A Laymans Approach

Monday, November 10th, 2008

Recently there is a lot of Hype in Ruby On Rails commonly called ROR . Ruby On Rails  claims to be a platform with Rapid development .The problem arises when when people used to the PHP hosting world switch to Rails Hosting . Then people start to realize whey there are millions of WebHosts offering [...]

List of Different web servers on GNU Linux

Friday, September 19th, 2008

Today we have different web servers available on the GNU/Linux platform.Here i am listing only the web servers that can be used for a mainstream web hosting environment
The web servers can be classified basically into 2
1. Process based webserver - In a process based web server each new connection is handled by a new web [...]

Howto disable access log in nginx

Sunday, September 14th, 2008

The following configuration disables logging the http requests in nginx
=====
http {
include mime.types;
default_type application/octet-stream;
server_names_hash_bucket_size 64;
#log_format main ‘$remote_addr - $remote_user [$time_local] $request ‘
# [...]

Howto enable Directory Listing in nginx

Monday, September 1st, 2008

To enable directory listing use the following configuration option:
autoindex on;

eg:
server { listen 80; server_name gnusys.net; autoindex on;…………}

nginx server_names_hash_bucket_size error

Monday, August 25th, 2008

The error:
Starting nginx daemon: nginx2008/08/25 00:29:09 [emerg] 4011#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
The fix:
Within the http block of the nginx config file make sure you have the server_names_hash_bucket_size set higher than the minimum 32
something lik
http { server_names_hash_bucket_size 64;
}
explanation :
hash_max_size will control the
number of virtual host entries, while _hash_bucket_size will [...]

Howto install Nginx from source

Wednesday, August 13th, 2008

Nginx is a very fast ,powerful asynchronous web server that can be considered as a good replacement for the Apache HTTPD web server. Below are the steps required to get Nginx installed on your system. It is preffered to install Nginx from source as we get the latest stable version of this project as compared [...]