リファクタリングと再設計
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja> git-svn-id: file:///srv/svn/repo/marisa/trunk@67 d6811dac-2434-b64a-9ddc-f563ab233461
This commit is contained in:
@@ -1,36 +1,35 @@
|
||||
# TCP or unix Socket to listen on.
|
||||
# When unix sockets are used, the content will be served over FastCGI.
|
||||
#listen = /var/run/marisa-fcgi.sock
|
||||
listen = 127.0.0.1:9000
|
||||
|
||||
# Base to use when constructing URI to files uploaded.
|
||||
# The full URI must be specified, in the form SCHEME://HOST[:PORT]
|
||||
baseuri = http://127.0.0.1:9000
|
||||
[marisa]
|
||||
# TCP or Unix socket to listen on.
|
||||
# When the Unix socket is used, the content will be served through FastCGI
|
||||
# listen = /var/run/marisa.sock
|
||||
# listen = 127.0.0.1:9000
|
||||
|
||||
# Drop privilege to the user and group specified.
|
||||
# When only the user is specified, the default group of the user will
|
||||
# be used.
|
||||
#user = www
|
||||
#group = daemon
|
||||
# When only the user is specified, the default group of the user
|
||||
# will be used.
|
||||
# user = www
|
||||
# group = www
|
||||
|
||||
# Change the root directory to the following directory.
|
||||
# When a chroot is set, all path must be given according to the chroot.
|
||||
# Note: the configuration file is read before chrooting.
|
||||
#chroot = /var/www
|
||||
# When a chroot(2) is set, all paths must be given according to it.
|
||||
# Note: the configuration file is read before it happens
|
||||
# chroot =
|
||||
[www]
|
||||
# baseuri = http://127.0.0.1:9000
|
||||
|
||||
# Path to the different path used by the server. Must take into account
|
||||
# the chroot if set.
|
||||
rootdir = static
|
||||
tmplpath = templates
|
||||
filepath = files
|
||||
metapath = meta
|
||||
# Path to the resources used by the server, must take into account
|
||||
# the chroot is set
|
||||
# rootdir = ./static
|
||||
# tmplpath = ./templates
|
||||
# filepath = ./files
|
||||
# metapath = ./meta
|
||||
|
||||
# URI context that files will be served on
|
||||
filectx = /f/
|
||||
# filectx = /f/
|
||||
|
||||
# Maximum per-file upload size (in bytes)
|
||||
maxsize = 536870912 # 512Mib
|
||||
# maxsize = 536870912 # 512 MiB
|
||||
|
||||
# Default expiration time (in seconds). An expiration time of 0 seconds
|
||||
# means no expiration.
|
||||
expiry = 86400 # 24 hours
|
||||
# Default expiration time (in seconds).
|
||||
# An expiration time of 0 seconds means no expiration.
|
||||
# expiry = 86400 # 24 hours
|
||||
|
||||
Reference in New Issue
Block a user