xref: /unit/pkg/deb/debian/unit.example.config (revision 522:091de026abd9)
1{
2	"applications": {
3		"example_php": {
4			"type": "php",
5			"user": "nobody",
6			"processes": 2,
7			"root": "/usr/share/doc/unit/examples/php-app",
8			"index": "index.php"
9		},
10
11		"example_python": {
12			"type": "python",
13			"user": "nobody",
14			"processes": 2,
15			"path": "/usr/share/doc/unit/examples/python-app",
16			"module": "wsgi"
17		},
18
19		"example_go": {
20			"type": "go",
21			"user": "nobody",
22			"executable": "/tmp/go-app"
23		}
24	},
25
26	"listeners": {
27		"*:8300": {
28			"application": "example_php"
29		},
30
31		"*:8400": {
32			"application": "example_python"
33		},
34
35		"*:8500": {
36			"application": "example_go"
37		}
38	}
39}
40