Connection reset by server

Roxis roxis at
Sat Aug 23 18:55:47 MSD 2008

On Saturday 23 August 2008, Adam Setzler wrote:
> Upon further inspection, I am getting a 405 when POST is submitting to a
> Drupal module and Clean URL is enabled.  It works fine without Clean URLs.
> It is an AJAX form that submits to /upload/js (clean) OR
> index.php?q=upload/js (dirty).
> My rewrite is ^/(.*)$ index.php?q=$1

add a slash before index.php

rewrite    ^/(.*)$    /index.php?q=$1

More information about the nginx mailing list