-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathconfig-dev.json
39 lines (37 loc) · 1.04 KB
/
config-dev.json
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
{
/*
* If a directive is specified more than once,
* the first one will be active.
*/
// If true, there will only be one process
"debug": false,
// If true, julia run as daemon.
// Enabled only when debug = false
"daemon": true,
// Number of workers
"worker": 8, // no more than cpu cores
// Timeout of inactive connection. In second
"timeout": 30,
"port": 12345,
// If relative path, it is relative to the INSTALL_DIR in Makefile
// else, specify an absolute path
"root": "/var/www",
/*
* The order the locations specified,
* is the order they are matched.
* So, to make "/static/" matched, it must
* be specified before "/".
*/
"locations": [
["/static", {
// Not supported yet
"index": ["index.html", "index.htm"]
}],
["/robots.txt", {}],
["/julia", {}],
["/", {
"pass": ["127.0.0.1", 3030],
"protocol": "uwsgi" // May support fastcgi in the future
}]
]
}