copyparty
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
[global]
|
||||
p: 8086, 3929, 3939 # listen on ports 8086 and 3939
|
||||
# e2dsa # enable file indexing and filesystem scanning
|
||||
e2ts # and enable multimedia indexing
|
||||
z, qr # and zeroconf and qrcode (you can comma-separate arguments)
|
||||
rproxy: 1
|
||||
xff-hdr: cf-connecting-ip
|
||||
xff-src: lan
|
||||
[accounts]
|
||||
forust: parrot family friend # username: password
|
||||
|
||||
# Volumes
|
||||
[/] # create a volume at "/" (the webroot), which will
|
||||
. # share the contents of "." (the current directory)
|
||||
accs:
|
||||
r: * # everyone gets read-access, but
|
||||
rwmd: forust # the user "ed" gets read-write
|
||||
[/home]
|
||||
/home/forust
|
||||
flags:
|
||||
d2dsa
|
||||
accs:
|
||||
rwm: forust
|
||||
# Anyone can upload, but nobody can see the contents
|
||||
[/receive]
|
||||
/home/forust/copyparty/uploads
|
||||
accs:
|
||||
wG: *
|
||||
flags:
|
||||
e2d # the e2d volflag enables the uploads database
|
||||
nodupe # the nodupe volflag rejects duplicate uploads
|
||||
d2t # the d2t volflag disables multimedia parsers (in case the uploads are malicious)
|
||||
dthumb # the dthumb volflag disables thumbnails (same reason)
|
||||
fk: 5 # the fk volflag enables filekeys (necessary for upget permission) (4 chars long)
|
||||
# (see --help-flags for all available volflags to use)
|
||||
Reference in New Issue
Block a user