The correct way to put Drupal on Nginx

June 15, 2011

There are many common issues with the way blogs mention Nginx configs with Drupal. Putting the root value within:

location = / { ... }

is a classic. Rather than traipsing through several of the tutorials I have seen do this, I thought I'd pop up a link to the horses mouth, so to speak. The above gives you a solid how-to, and also tells you the reasons why many of the common recipes are wrong.

Nginx wiki link for Drupal setups