Images are missing in drupal 7 working on nginx

António P. P. Almeida appa at perusio.net
Fri Feb 4 19:52:02 MSK 2011


On 4 Fev 2011 16h45 WET, appa at perusio.net wrote:

I just want to add that Drupal 7 no longer needs the "clean URL
rewrite" rule.

A simple:

# This implements all Drupal handling. No need for regex magick when
# rewriting. D7 handles that.
location @drupal {
    rewrite ^ /index.php last;
}

will do.

--- appa




More information about the nginx mailing list