ocsigenserver.conf.in 1.41 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
        <enable-dummy/>
39
        <enable-password db="demo/data/password_db.csv"/>
Stephane Glondu's avatar
Stephane Glondu committed
40
        <source file="../belenios.tar.gz"/>
41
        <main-election uuid="6d122f00-2650-4de8-87de-30037a21f943"/>
Stephane Glondu's avatar
Stephane Glondu committed
42
        <admin hash="97b878ee6f0b3fdec58875e7825e720a0cc0f973d73e415458b5544938d09fe6"/><!-- Ooj8jubi -->
43
        <log file="_RUNDIR_/log/security.log"/>
Stephane Glondu's avatar
Stephane Glondu committed
44
        <data dir="demo/data"/>
45
      </eliom>
46 47 48 49 50
    </host>

  </server>

</ocsigen>