ojob.io/httpServers/S3HTTPd

Usage

ojob ojob.io/httpServers/S3HTTPd port= host= uri= s3url= s3bucket= s3prefix= s3accessKey= s3secret= s3region= 

Description

Starts an HTTP server that streams every object below s3prefix directly from S3.

Expects

Name Description
port Listener port (default: 8080).
host Optional listener host/interface.
uri Base URI to expose (default: '/'). A request for /data/my/file.txt with uri=/data maps to s3prefix + my/file.txt.
s3url S3-compatible endpoint URL.
s3bucket Bucket containing the served objects.
s3prefix Optional object-name prefix; a trailing slash is added when needed.
s3accessKey Optional S3 access key.
s3secret Optional S3 secret key.
s3region Optional S3 region.