perusio/drupal-with-nginx — Issue #26: 405 not allowed
Author: ziomizar
Created: 2012-01-26 03:19:40+00:00
State: open

Hi Perusio,

Thank you for your configs, really usefull.
I'm using nginx-1.0.11, php5-fpm, memcached, apc and drupal7 + boost.

I'm receiving this error :

"405 not allowed."

This issue happening only when i change an exposed faceted filter with min-max value (with jquery plugin) that doing a redirect to another page.
Without boost your config working perfectly also with all faceted search filters that i have tryed.

And adding these lines in drupal_boost.conf on location /{ :

if ($request_method = POST) {
return 405;
}
error_page 405 = @drupal;

Working as expected.
I'm a newbie of nginx, and i'm not sure if this is the right solution..

Obrigado pela ajuda:)