Demo of Simple Ruby Web Server to View Files

Usage:

Features

  • Will only serve files in public directory
  • Incorporates security features implemented in Rack::File to ensure only authorized files are accessed.
  • Uses IO.copy_stream(file, socket)
  • Will continue to serve files until killed.