New book : Nginx web server cookbook

Guys after a long break, I have come out of my slumber to talk about my first publication with Packt publishing. In short the book is about tips and tricks around the upcoming Nginx web server. You can check it out using this link. This has been published by Packt publishing, a UK based technical publishing house. It would not have been possible without the tremendous support of the people around me, and in specific the many people I have worked with....

May 31, 2011 · 1 min · 186 words · Me

Jailed in FreeBSD

Well, working on freeBSD right now some immediate learnings for most linux users Ports is as good as apt-get [and i would say much better, when i started installing stuff] You will need to start with installing vim and bash to make your life a lot easier So the target was to install python and nginx, both of which are very easy to install once you understand how the whole ports collection system works....

March 8, 2010 · 1 min · 174 words · Me

Nginx upload module - efficient uploads

I was just having a look at some forums and saw some people talking about how to handle large parallel uploads. I have been having a look at this plugin which comes with NGINX and played around with it. Extremely useful if you use nginx in your stack and are getting killed by massive uploads. Have fun!! http://www.grid.net.ru/nginx/upload.en.html

August 20, 2009 · 1 min · 58 words · Me

Nginx + django fcgi lessons

Today was a good day as i learned some valuable lessons about django and nginx. ALWAYS close the database cursor in django, it can lead to some pretty wierd memory issues going forward. FIND the most optimal number of database connections you initialize for you connection pooling. This will let you optimize on memory going forward. ENSURE that you do not set a very high client_timeout, this means that if connections are not explicitly not closed by the client then the web server will not timeout....

January 19, 2009 · 1 min · 138 words · Me

PHP + nice URLS + nginx

Easiest way to get php with good looking urls running on your site . Works for drupal, wordpress and joomla. server { listen 80; server_name www.domain.com; index index.html index.htm index.php; root /path/to/domain/files; location / { error_page 404 = //e/index.php?q=$uri; } location ~ .php$ { include fastcgi_params; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /path/to/domain/files$fastcgi_script_name; } access_log /usr/local/nginx/logs/domain.access_log; error_log /usr/local/nginx/logs/domain.error_log; }

December 26, 2008 · 1 min · 59 words · Me