@nostrdev-com I've installed it, went smooth, and have even uploaded a blob.
How do I make this private? I really don't want some random to upload nasty stuff! Here is some of my config:
discovery:
# find files by querying nostr relays
nostr:
enabled: true
relays:
- wss://relay.mynostr.com
# - wss://nostrue.com
# - wss://relay.damus.io
# - wss://nostr.wine
# - wss://nos.lol
# - wss://nostr-pub.wellorder.net
# find files by asking upstream CDNs
# NOTE: do not set this to your own server, it will create an infinite loop
upstream:
enabled: true
domains:
- https://cdn.satellite.earth
storage:
# local or s3
backend: local
# Imminently removes a blob when there are no owners
removeWhenNoOwners: false
# local storage
local:
dir: ./data/blobs
# rules are checked in descending order. if a blob matches a rule it is kept
# "type" (required) the type of the blob, "*" can be used to match any type
# "expiration" (required) time passed since last accessed
# "pubkeys" (optional) a list of owners
# any blobs not matching the rules will be removed
rules:
# mime type of blob
- type: text/*
# time since last accessed
expiration: 1 month
- type: "image/*"
expiration: 1 year
- type: "video/*"
expiration: 5 days
- type: "model/*"
expiration: 1 week
- type: "*"
expiration: 2 days
upload:
# enable / disable uploads
enabled: true
# require auth to upload
requireAuth: true
# only check rules that include "pubkeys"
requirePubkeyInRule: false
list:
requireAuth: true
allowListOthers: false
tor:
enabled: false
proxy: ""