Nginx and boost with older config

Events happening in the community are now at Drupal community events on www.drupal.org.
EDanee's picture

hi folks,

A while back I altered perusio's config a bit for my server.
I'm running multiple domains - not all drupal.

I have to be honest I didn't follow the updates on github after I set up my config.
And this seems to come back and haunt me :)

I'm trying to make boost work on a D7 install. Boost itself seem to work but POST requests are not working for some reason.
I also tried to copy some part of the new version, but no luck either.

This is what I have at the end of 'location \' section:

try_files $uri @cache;

And the @cache part is:

error_page 418 = /index.php?q=$uri&$args;
if ($http_cookie ~ "SESS" ) {
  return 418;
}
if ($request_method = POST) {
  return 418;
}
...the header modification and the try_files line

When I switch back to try_files $uri /index.php?q=$uri&$args; under location \ the POST request are working but boost doesen't obviously.

Any ideas about a quick fix for this?

Thank you,
Daniel

Comments

Boost doesn't work with authorized user

rajibmp's picture

If my understanding is right, so, checking the cookie might be just extra unused config. If you are using Perusio's config, did you try falling back to @drupal rewite rule in case of error_page

There were some people having problems

perusio's picture

with boost on D7. Anyway boost is a lot of pain for very little gain. I would advise to use microcaching instead. One less module (which is rather complex) to deal with and a much simpler setup IMHO.

To proceed further with your problem we need a debug log.

Nginx

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week