user       www www; 
worker_processes  2;
error_log  logs/error.log;
pid        logs/nginx.pid;
events {
        worker_connections  1024;
}
http {
		perl_modules perl; 
		 
	    perl_require CSS/Minifier.pm; 
        perl_require Minify.pm; 

        include       mime.types;
        default_type  application/octet-stream;
        gzip on;
        gzip_min_length 5000;
        gzip_buffers    4 8k;
        gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
        gzip_proxied  any;
        gzip_comp_level 2;
        ignore_invalid_headers  on;
		root /var/www;
	     server {
		server_name www.example1.com;
		location / {
		  index  index.html index.htm;
		}
	 
		location ~ \.css$  {
		  perl Minify::handler;
		}
	  } 
}
