-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathocsigenserver.conf
53 lines (45 loc) · 1.49 KB
/
ocsigenserver.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<ocsigen>
<server>
<port>8080</port>
<!-- Update all the directories according to your installation -->
<!-- A default configuration file is usually provided in /etc/ocsigen/ -->
<logdir>/tmp</logdir>
<datadir>/tmp/data</datadir>
<user></user>
<group></group>
<commandpipe>/tmp/ocsigen_command</commandpipe>
<extension findlib-package="ocsigenserver.ext.staticmod"/>
<extension findlib-package="ocsigenserver.ext.ocsipersist-dbm">
<store dir="/tmp/lamaurbain"/>
</extension>
<extension findlib-package="macaque"/>
<extension findlib-package="mongo"/>
<extension findlib-package="cairo2"/>
<extension findlib-package="ctypes.foreign"/>
<extension findlib-package="ppx_deriving_yojson.runtime"/>
<extension findlib-package="batteries"/>
<extension findlib-package="eliom.server"/>
<extension findlib-package="gpx"/>
<host hostfilter="*">
<static dir="data" />
<eliommodule module="_build/src/LamaUrbain.cma">
<config
map="MAP"
style="STYLE"
/>
<database
type="postgres"
host="localhost"
database-name="lamaurbain"
user="lamaurbain"
password-file="password"
/>
</eliommodule>
<eliom>
<!-- Timeout of cookies sessions (30 days) -->
<persistenttimeout value="2592000"/>
<persistentsessiongcfrequency value="2592000"/>
</eliom>
</host>
</server>
</ocsigen>