nginx-vblob-bulk-dump
v0.1.3
Published
NodeJs module for interacting with vblob bulk dump binary files for use with nginx vblob module
Downloads
9
Readme
Overview
Typescript library for generating Vblob binary dump files for the ngx_http_vblob module's bulk put endpoint.
Can generate programatically from list of blobs in JS buffers, or generate from a directory tree.
Testing
- Generate a binary dump (eg:
./bin/makeDumpFromDirTree.ts test-source 1 vblobdump.bin.gz
) - Upload to nginx vblob server (eg:
curl --data-binary "@./vblobdump.bin.gz" http://localhost/_vblob/put-bulk
) - Test fetching file from nginx vblob server
curl 'http://localhost/subdir/test.json?v=1