Journey in a software world…
22 Nov
I’m proud to announce the release of Nginx Upload Progress module v0.7
This version sees a crash fix and various new features implemented by Valery Kholodkov (the author of the famous Nginx Upload Module).
This version has been tested with Nginx 0.7.64.
What is cool is that now with only one directive (upload_progress_json_output) the responses are sent in pure Json and not in javascript mix as it was before.
Another cool feature is the possibility to use templates to send progress information. That means with a simple configuration change nginx can now return XML:
upload_progress_content_type 'text/xml'; upload_progress_template starting '<upload><state>starting</state></upload>'; upload_progress_template uploading '<upload><state>uploading</state><size>$uploadprogress_length</size><uploaded>$uploadprogress_received</uploaded></upload>'; upload_progress_template done '<upload><state>done</state></upload>'; upload_progress_template error '<upload><state>error</state><code>$uploadprogress_status</code></upload>';
Refer to the README in the distribution for more information.
Easy, download the tarball from the nginx upload progress module github repository download section.
Normally you have to use your own client code to display the progress bar and contact nginx to get the progress information.
But some nice people have created various javascript libraries doing this for you:
Happy uploads!
3 Responses for "Nginx upload progress module v0.7!"
Thank you ! Loud applause from nginx-ru for you !
Many thanks from SibSoft team too!
[...] I know… I released v0.7 less than a month ago. But this release was crippled by a crash that could happen at start or [...]
Leave a reply