Somehow uploadprogress seems to be affecting a request unrelated. I am
using
Cyberduck on Windows to test WebDAV (over HTTPS). It successfully logs
in,
lists files, etc. But it does not download any files because it does not
like that PROPFIND on a file gives a 405 status. Cut down log:
2014/06/27 23:10:50 [debug] 28436#0: *569278 http finalize request: 405,
Date: Sat, 28 Jun 2014 06:10:50 GMT
create_full_put_path on;
When I comment out the mp4 location the client downloads the file fine. But
I do want to use the mp4 module to optimise for those files.
If you have mp4 directive in a location, this location will only process
GET and HEAD
requests and reply with “405 Not Allowed” to all other HTTP methods. No
matter if you
have dav or not you will get 405 to PROPFIND/OPTIONS/PUT/etc due to mp4
module restrictions.
Currently nginx does not seem to be able to do what you want. If youre
ready to patch
the source heres the patch fixing the issue.
+++ b/src/http/modules/ngx_http_mp4_module.c Mon Jun 30 19:10:59
…
Is there any change this will make it into upstream so I don’t have to keep
on patching?
Not that I mind that much because with Gentoo and user patches it is
extremely easy but I guess I would of course be concerned that the code may
change drastically such that the patch will stop working.
Is there any change this will make it into upstream so I don’t have to
keep
on patching?
Not that I mind that much because with Gentoo and user patches it is
extremely easy but I guess I would of course be concerned that the code
may
change drastically such that the patch will stop working.
Posted at Nginx Forum:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.