-
Notifications
You must be signed in to change notification settings - Fork 0
/
passpartout.conf.in
33 lines (31 loc) · 1.13 KB
/
passpartout.conf.in
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
%%% This is the template for your configuration file. The %%VALUES%% below are
%%% taken from the Makefile to generate the actual configuration files.
%%% This comment will disappear.
<!-- %%WARNING%% -->
<ocsigen>
<server>
<port>%%PORT%%</port>
<uploaddir>/tmp/upload</uploaddir>
<maxuploadfilesize>2MB</maxuploadfilesize>
<maxrequestbodysize>100MB</maxrequestbodysize>
%%% Only set for running, not for testing
%%USERGROUP%%
<logdir>%%LOGDIR%%</logdir>
<datadir>%%DATADIR%%</datadir>
<charset>utf-8</charset>
%%% Only set when debugging
%%DEBUGMODE%%
<commandpipe>%%CMDPIPE%%</commandpipe>
<extension findlib-package="ocsigenserver.ext.staticmod"/>
<extension findlib-package="ocsigenserver.ext.ocsipersist-%%PERSISTENT_DATA_BACKEND%%"/>
<extension findlib-package="eliom.server"/>
%%% This will include the packages defined as SERVER_PACKAGES in your Makefile:
%%PACKAGES%%
<host hostfilter="*">
<static dir="%%STATICDIR%%" />
<static dir="%%ELIOMSTATICDIR%%" />
<eliommodule module="%%LIBDIR%%/%%PROJECT_NAME%%.cma" />
<eliom/>
</host>
</server>
</ocsigen>