Changeset 67 in code for trunk/example/marisa.conf


Ignore:
Timestamp:
Feb 11, 2024, 2:08:18 AM (16 months ago)
Author:
yakumo.izuru
Message:

リファクタリングと再設計

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

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
    96
    107# 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
     8# When only the user is specified, the default group of the user
     9# will be used.
     10# user = www
     11# group = www
    1512
    1613# 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
    2019
    21 # Path to the different path used by the server. Must take into account
    22 # the chroot if set.
    23 rootdir = static
    24 tmplpath = templates
    25 filepath = files
    26 metapath = meta
     20# 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
    2726
    2827# URI context that files will be served on
    29 filectx = /f/
     28# filectx = /f/
    3029
    3130# Maximum per-file upload size (in bytes)
    32 maxsize = 536870912 # 512Mib
     31# maxsize = 536870912 # 512 MiB
    3332
    34 # Default expiration time (in seconds). An expiration time of 0 seconds
    35 # means no expiration.
    36 expiry = 86400 # 24 hours
     33# 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.