streamlinevideo / streamline

A reference system for end to end live streaming video. Capture, encode, package, uplink, origin, CDN, and player.
MIT License
758 stars 88 forks source link

http.upload plugin is removed from caddy software #21

Closed prashanthag closed 5 years ago

prashanthag commented 5 years ago

http.upload plugin is removed from caddy software .. so what we need to install in place of it ?

curl https://getcaddy.com | bash -s personal hook.service,http.cors,http.upload I just installed curl https://getcaddy.com | bash -s personal hook.service,http.cors but it seems it might be a problem ?

colleenkhenry commented 5 years ago

We could easily replace it with nginx with the HTTP PUT method enabled or even better I'll go ahead and add in the server from the low latency project on this same repo :).

On Wed, May 29, 2019 at 7:12 AM prashanthag notifications@github.com wrote:

http.upload plugin is removed from caddy software .. so what we need to install in place of it ?

curl https://getcaddy.com | bash -s personal hook.service,http.cors,http.upload I just installed curl https://getcaddy.com | bash -s personal hook.service,http.cors but it seems it might be a problem ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/streamlinevideo/streamline/issues/21?email_source=notifications&email_token=AATVS2NHDX5VNV7YPTSAXZTPX2FNNA5CNFSM4HQNHJB2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GWP5KLA, or mute the thread https://github.com/notifications/unsubscribe-auth/AATVS2LK365TGYSX5SI4HS3PX2FNNANCNFSM4HQNHJBQ .

prashanthag commented 5 years ago

Hi, Thanks for the reply. I am novice to this server stuff . If possible would you add nginx instruction?

colleenkhenry commented 5 years ago

Basically you want to allow the HTTP PUT method / WebDAV in NGINX.

http://nginx.org/en/docs/http/ngx_http_dav_module.html

I'll update the full instructions though with a big fresh update. I'll try to find time today.

prashanthag commented 5 years ago

Found in caddy plugin https://caddyserver.com/docs/http.webdav worked perfectly fine

:80

root /home/ubuntu/streamline/www webdav { scope /home/ubuntu/streamline/www modify true allow /home/ubuntu/streamline/www }

curl https://getcaddy.com | bash -s personal hook.service,http.cors,http.webdav

can you please make these changes in git ?

prashanthag commented 5 years ago

sent you the pull requests

colleenkhenry commented 5 years ago

Oh sorry I just saw this. Great.

Though, I think I'm going to eliminate the origin server completely and replace it with mediastore soon. I'll accept them for now, but, FYI I might go in that direction soon :).

colleenkhenry commented 5 years ago

Merged.