upload module 2.0.12
    Valery Kholodkov 
    valery+nginxen at grid.net.ru
       
    Mon Mar  1 22:54:22 MSK 2010
    
    
  
Valery Kholodkov wrote:
> 
> Greetings!
> 
> Changes in version 2.0.12:
>  * Fixed bug: keepalive connection was hanging after upload has been 
> completed;
>  * Change: if request method is not POST return HTTP 405 in order to 
> simplify configuration.
> 
> This release fixes annoying keepalive issue and introduces a small 
> change which allows to process non-POST request in alternative location:
> 
> location /upload {
>     upload_pass @a;
> 
>     [...]
> 
-     error_page 404  =  @non_post_request;
+     error_page 405  =  @non_post_request;
This is of course 405. Sorry for noise.
> }
> 
> location @non_post_request {
>     # process non-POST requests here
> 
>     [...]
> }
> 
> Please see this page for details:
> http://www.grid.net.ru/nginx/upload.en.html
> 
-- 
Best regards,
Valery Kholodkov
    
    
More information about the nginx
mailing list