Permalinks problem

Dear sir!
Today i installed nginx as replacement of apache.
I am using Direct admin Control panel and Cent OS 5 64bit.
Now my all site are giving 404 error when i enable permalinks on site.
but on default configuration means without permalinks it is working fine.
i Installed my wordpress on sub domain and its single install not multi-site
Please help me to resolve issue.
and i have no directory of site-available etc in my nginx folder.

Regards

i solved the problem just add this in include /usr/local/directadmin/data/users/admin/nginx.conf;

{  
			try_files $uri $uri/ /index.php?$uri&$args;  
			fastcgi_split_path_info ^(.+\.php)(/.+)$;  
			include /etc/nginx/fastcgi_params;  
			fastcgi_index index.php;  
			fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;  
			include /etc/nginx/nginx_limits.conf;  
			if (-f $request_filename)  
			{  
				fastcgi_pass unix:/usr/local/php55/sockets/admin.sock;  
			}  

if (!-e $request_filename){  
    rewrite ^(.*)$ /index.php?url=$1 break;  
  }  
    
  }

on my every wordpress domain

@waseem

Glad to know your problem is fixed but we do not offer any support for centos. We only use Ubuntu on all our servers and we follow some conventions to save ourself from running into problems.

References: