forked from doctrine/orientdb-odm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorientdb-server-config.xml
39 lines (39 loc) · 1.86 KB
/
orientdb-server-config.xml
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<orient-server>
<handlers>
<handler class="com.orientechnologies.orient.server.handler.OServerSideScriptInterpreter">
<parameters>
<parameter name="enabled" value="true" />
</parameters>
</handler>
</handlers>
<network>
<protocols>
<protocol name="http" implementation="com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpDb"/>
</protocols>
<listeners>
<listener ip-address="127.0.0.1" port-range="2480" protocol="http">
<commands>
<command
pattern="GET|www GET|studio/ GET| GET|*.htm GET|*.html GET|*.xml GET|*.jpeg GET|*.jpg GET|*.png GET|*.gif GET|*.js GET|*.css GET|*.swf GET|*.ico GET|*.txt"
implementation="com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandGetStaticContent">
<parameters>
<entry name="http.cache:*.htm *.html" value="Cache-Control: no-cache, no-store, max-age=0, must-revalidate\r\nPragma: no-cache" />
<entry name="http.cache:default" value="Cache-Control: max-age=120" />
</parameters>
</command>
</commands>
</listener>
</listeners>
</network>
<storages>
<storage name="temp" path="memory:temp" userName="admin" userPassword="admin" loaded-at-startup="true"/>
</storages>
<users>
<user name="root" password="E8C9F35F4C911DA304E7871686F8C2E3DA53FCD499C25E7E7282959387FB2BD5" resources="*"/>
<user name="admin" password="admin" resources="*"/>
</users>
<properties>
<entry name="log.console.level" value="off"/>
</properties>
</orient-server>