<20090527084617.GD60957@rambler-co.ru>
Content-Type: text/plain; charset="big5"
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
Is this patch build-in in the new version?
> Date: Wed, 27 May 2009 12:46:17 +0400
> From: is@rambler-co.ru
> To: nginx@sysoev.ru
> Subject: Re: How to solve the problem of "405 not allowed"?
>
> On Wed, May 27, 2009 at 03:17:49AM -0400, peacock wrote:
>
>> When I post when a JavaScript file, "405 not allowed" error will appear.
>>
>> if use proxy, it can work.
>>
>> error_page 405 =200 @405;
>> location @405 {
>> root /htdocs;
>> proxy_pass http://localhost:8080;
>> }
>>
>>
>> but I do not want to use proxy, just want to use Nginx, can to achieve it?
>
> Try the attached patch, it allows to POST to static files.
> Probably I will include it in 0.8.0.
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
_________________________________________________________________