ocsigenserver.conf.in 1.3 KB
Newer Older
1
2
3
4
5
6
7
8
9
<!-- -*- Mode: Xml -*- -->
<ocsigen>

  <server>

    <port>8001</port>

    <logdir>_RUNDIR_/log</logdir>
    <datadir>_RUNDIR_/lib</datadir>
Stephane Glondu's avatar
Stephane Glondu committed
10
11
12
13

    <uploaddir>_RUNDIR_/upload</uploaddir>
    <maxuploadfilesize>128kB</maxuploadfilesize>

14
    <commandpipe>_TMPDIR_/run/ocsigenserver_command</commandpipe>
15
16
17

    <charset>utf-8</charset>

18
    <findlib path="_OCAML_STDLIBDIR_"/>
19
20
21
22
23
24
25
26
27

    <extension findlib-package="ocsigenserver.ext.staticmod"/>

    <extension findlib-package="ocsigenserver.ext.ocsipersist-sqlite">
      <database file="_RUNDIR_/lib/ocsidb"/>
    </extension>

    <extension findlib-package="eliom.server"/>

28
29
30
    <extension findlib-package="zarith"/>
    <extension findlib-package="uuidm"/>
    <extension findlib-package="atdgen"/>
31
    <extension findlib-package="csv"/>
32

33
    <host charset="utf-8" hostfilter="*" defaulthostname="localhost">
Stephane Glondu's avatar
Stephane Glondu committed
34
      <site path="booth" charset="utf-8">
35
        <static dir="_SRCDIR_/ext/booth" />
Stephane Glondu's avatar
Stephane Glondu committed
36
      </site>
37
      <eliom module="_build/src/web/server.cma">
38
39
        <auth name="demo"><dummy/></auth>
        <auth name="local"><password db="demo/password_db.csv"/></auth>
Stephane Glondu's avatar
Stephane Glondu committed
40
        <source file="../belenios.tar.gz"/>
41
        <log file="_RUNDIR_/log/security.log"/>
42
        <import dir="demo/data"/>
43
        <spool dir="_RUNDIR_/spool"/>
44
      </eliom>
45
46
47
48
49
    </host>

  </server>

</ocsigen>