source: code/trunk/example/partage.conf@ 52

Last change on this file since 52 was 50, checked in by dev, 4 years ago

Move example site and config into its own directory

File size: 1.1 KB
Line 
1# TCP or unix Socket to listen on.
2# When unix sockets are used, the content will be served over FastCGI.
3#listen = /var/run/partage-fcgi.sock
4listen = 127.0.0.1:9000
5
6# Base to use when constructing URI to files uploaded.
7# The full URI must be specified, in the form SCHEME://HOST[:PORT]
8baseuri = http://127.0.0.1:9000
9
10# Drop privilege to the user and group specified.
11# When only the user is specified, the default group of the user will
12# be used.
13#user = www
14#group = daemon
15
16# Change the root directory to the following directory.
17# When a chroot is set, all path must be given according to the chroot.
18# Note: the configuration file is read before chrooting.
19#chroot = /var/www
20
21# Path to the different path used by the server. Must take into account
22# the chroot if set.
23rootdir = example/static
24tmplpath = example/templates
25filepath = example/files
26metapath = example/meta
27
28# URI context that files will be served on
29filectx = /f/
30
31# Maximum per-file upload size (in bytes)
32maxsize = 536870912 # 512Mib
33
34# Default expiration time (in seconds). An expiration time of 0 seconds
35# means no expiration.
36expiry = 86400 # 24 hours
Note: See TracBrowser for help on using the repository browser.