perusio/drupal-with-nginx — Issue #31: boost pages never get served
Author: paradoxni
Created: 2012-02-07 16:17:31+00:00
State: open

I have configured NginX / Drupal6 / Boost. The boost cache is being generated, however the .html files are never getting served to users.

It seems it always passes directly to Drupal, not serving the cache.

If I comment out the following in drupal_boost6.conf, then the cache files DO get served as expected. No cookie/session is set, I am an anonymous user, however always seem to get sent to @no_cache.

location @cache {

#### error_page 418 = @no_cache;

# if ($no_cache) {
# return 418; # I'm a teapot/I can't get no cachifaction
# }

If the above is commented out, then the cache works!

Any ideas?