Changeset 67 in code for trunk/example/marisa.conf
- Timestamp:
- Feb 11, 2024, 2:08:18 AM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/example/marisa.conf
r65 r67 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/marisa-fcgi.sock 4 listen = 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] 8 baseuri = http://127.0.0.1:9000 1 [marisa] 2 # TCP or Unix socket to listen on. 3 # When the Unix socket is used, the content will be served through FastCGI 4 # listen = /var/run/marisa.sock 5 # listen = 127.0.0.1:9000 9 6 10 7 # Drop privilege to the user and group specified. 11 # When only the user is specified, the default group of the user will12 # be used.13 # user = www14 # group = daemon8 # When only the user is specified, the default group of the user 9 # will be used. 10 # user = www 11 # group = www 15 12 16 13 # 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 14 # When a chroot(2) is set, all paths must be given according to it. 15 # Note: the configuration file is read before it happens 16 # chroot = 17 [www] 18 # baseuri = http://127.0.0.1:9000 20 19 21 # Path to the different path used by the server. Must take into account22 # the chroot i f set.23 rootdir =static24 tmplpath =templates25 filepath =files26 metapath =meta20 # Path to the resources used by the server, must take into account 21 # the chroot is set 22 # rootdir = ./static 23 # tmplpath = ./templates 24 # filepath = ./files 25 # metapath = ./meta 27 26 28 27 # URI context that files will be served on 29 filectx = /f/28 # filectx = /f/ 30 29 31 30 # Maximum per-file upload size (in bytes) 32 maxsize = 536870912 # 512Mib 31 # maxsize = 536870912 # 512 MiB 33 32 34 # Default expiration time (in seconds). An expiration time of 0 seconds35 # means no expiration.36 expiry = 86400 # 24 hours33 # Default expiration time (in seconds). 34 # An expiration time of 0 seconds means no expiration. 35 # expiry = 86400 # 24 hours
Note:
See TracChangeset
for help on using the changeset viewer.