You can try Lua (init_by_lua) something like https://github.com/pintsized/lua-resty-http with a bit of tweaking, no usb port you could use with a small usb stick? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,258564,258574#msg-258574