[FFmpeg-trac] #8566(undetermined:new): HTTP method ignored on retry

FFmpeg trac at avcodec.org
Wed Mar 11 12:31:53 EET 2020


#8566: HTTP method ignored on retry
-------------------------------------+-------------------------------------
             Reporter:  vschweitzer  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  http         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by vschweitzer):

 === NGINX Configuration ===

 In front of "server {...}":
 {{{
 map $request_method $my_proxy_method {
   default $request_method;
   POST PUT;
 }
 }}}

 In "server {...}":
 {{{
 location /streams/ {
     proxy_pass http://127.0.0.1:45000/test/;
     proxy_method $my_proxy_method;
     proxy_ignore_client_abort on;
 }

 location /test/ {
     root   html;
     index  index.html index.htm;
     dav_methods PUT DELETE MKCOL COPY MOVE;
     dav_access all:rw;
     create_full_put_path on;
     client_max_body_size 10000m;
 }
 }}}
 This will redirect all requests to /streams/ to /test/ with
 each POST request replaced by a PUT.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8566#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list