{ "listen": "localhost:3179", "auth": "userpass:camlistore:pass3179", "https": false, "prefixes": { "/": { "handler": "root", "handlerArgs": { "blobRoot": "/bs-and-maybe-also-index/", "ownerName": "Brad", "searchRoot": "/my-search/", "statusRoot": "/status/", "stealth": false } }, "/ui/": { "handler": "ui", "handlerArgs": { "jsonSignRoot": "/sighelper/", "cache": "/cache/", "scaledImage": "lrucache" } }, "/setup/": { "handler": "setup" }, "/status/": { "handler": "status" }, "/share/": { "handler": "share", "handlerArgs": { "blobRoot": "/bs/" } }, "/sync/": { "handler": "sync", "handlerArgs": { "from": "/bs/", "to": "/index-mem/" } }, "/sighelper/": { "handler": "jsonsign", "handlerArgs": { "secretRing": "/path/to/secring", "keyId": "26F5ABDA", "publicKeyDest": "/bs-and-index/" } }, "/bs-and-index/": { "handler": "storage-replica", "handlerArgs": { "backends": ["/bs/", "/index-mem/"] } }, "/bs-and-maybe-also-index/": { "handler": "storage-cond", "handlerArgs": { "write": { "if": "isSchema", "then": "/bs-and-index/", "else": "/bs/" }, "read": "/bs/" } }, "/bs/": { "handler": "storage-filesystem", "handlerArgs": { "path": "/tmp/blobs" } }, "/cache/": { "handler": "storage-filesystem", "handlerArgs": { "path": "/tmp/blobs/cache" } }, "/index-mem/": { "handler": "storage-memory-only-dev-indexer", "handlerArgs": { "blobSource": "/bs/" } }, "/my-search/": { "handler": "search", "handlerArgs": { "index": "/index-mem/", "owner": "sha1-f2b0b7da718b97ce8c31591d8ed4645c777f3ef4" } }, "/sto-s3/": { "handler": "storage-s3", "handlerArgs": { "aws_access_key": "key", "aws_secret_access_key": "secret", "bucket": "bucket" } }, "/sync-to-s3/": { "handler": "sync", "handlerArgs": { "from": "/bs/", "to": "/sto-s3/" } }, "/sto-google/": { "handler": "storage-google", "handlerArgs": { "auth": { "client_id": "clientId", "client_secret": "clientSecret", "refresh_token": "refreshToken" }, "bucket": "bucketName" } }, "/sync-to-google/": { "handler": "sync", "handlerArgs": { "from": "/bs/", "to": "/sto-google/" } } } }