I did the configuration that is explained in this site; http://f.souza.cc/2010/12/killer-java-applications-server-with-nginx-and-memcached/ Posted at Nginx Forum: http://forum.nginx.org/read.php?2,225508,225512#msg-225512