-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathGateway.config
More file actions
85 lines (69 loc) · 3.66 KB
/
Gateway.config
File metadata and controls
85 lines (69 loc) · 3.66 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?xml version="1.0" encoding="utf-8" ?>
<GatewayConfiguration xmlns="http://waher.se/Schema/GatewayConfiguration.xsd">
<!--
The configuration file in the program data folder, will have precedence over the configuration file in the installation folder.
When upgrading, the configuration file in the installation folder will be updated, but the configuration file in the program data
folder will be maintained. If you make changes to the configuration file, make a copy and place it in the program data folder, and
edit it there. This will make sure you don't lose any changes when you update the software. -->
<ApplicationName>IoT Gateway</ApplicationName>
<DefaultPage>/Index.md</DefaultPage>
<!--
Multiple DefaultPage elements may be provided, one for each host name hosted by the gateway. Use the optional host attribute to
define host name.
Example:
<DefaultPage host="example.org">/Index.html</DefaultPage>
-->
<MutualTls clientCertificates="NotUsed" trustCertificates="false"/>
<ContentEncodings>
<ContentEncoding method="gzip" dynamic="true" static="true"/>
<ContentEncoding method="deflate" dynamic="true" static="true"/>
<ContentEncoding method="br" dynamic="false" static="true"/>
</ContentEncodings>
<Database folder="Data" defaultCollectionName="Default" blockSize="8192" blocksInCache="10000" blobBlockSize="8192" timeoutMs="3600000" encrypted="true"/>
<Ports>
<Port protocol="HTTP">80</Port>
<Port protocol="HTTPS">443</Port>
<Port protocol="XMPP.C2S">5222</Port>
<Port protocol="XMPP.S2S">5269</Port>
<Port protocol="SOCKS5">1080</Port>
<Port protocol="SMTP">25</Port>
<Port protocol="SMTP">587</Port>
<Port protocol="FTP">21</Port>
<Port protocol="FTPS">990</Port>
<Port protocol="FTP.PassiveData">50000</Port>
<Port protocol="FTP.PassiveData">50001</Port>
<Port protocol="FTP.PassiveData">50002</Port>
<Port protocol="FTP.PassiveData">50003</Port>
<Port protocol="FTP.PassiveData">50004</Port>
<Port protocol="FTP.PassiveData">50005</Port>
<Port protocol="FTP.PassiveData">50006</Port>
<Port protocol="FTP.PassiveData">50007</Port>
<Port protocol="FTP.PassiveData">50008</Port>
<Port protocol="FTP.PassiveData">50009</Port>
</Ports>
<FileFolders>
<!--
Add a sequence of FileFolder elements. Each FileFolder element creates a web folder defined by the webFolder attribute. These folder
resources are absolute resources. Each web folder will be mapped to a corresponding folder on the local machine or in the network,
defined by the folderPath attribute.
Example:
<FileFolder webFolder="/Folder" folderPath="\\Server\Path"/>
-->
</FileFolders>
<VanityResources>
<!--
Add a sequence of VanityResource elements. Each VanityResource element contains a regular expression in the regex attribute and a
transformed (real) local resource name. The regular expression will be used to match local resource names in incoming requests.
These regular expressions can contain named groups. The url attribute contains the transformed resource name that will be used to
locate the resource requested. Named groups can be placed between curly braces { and }.
Example:
<VanityResource regex="/resource/(?'Op'edit|view)/(?'Id'\d+)" url="/Resource.md?Op={Op}&Id={Id}"/>
-->
</VanityResources>
<!--
Include the following element, if you want ALL internal exceptions raised during the execution of the program output to log files.
This might come in handy if you need to troubleshoot unexpected errors in production. Each time the gateway restarts, statistics
from previous log files are generated in the same folder.
<ExportExceptions folder="Exceptions"/>
-->
</GatewayConfiguration>