2023-09-21 17:50:19 +02:00
|
|
|
{
|
|
|
|
"listeners": {
|
|
|
|
"*:8000": {
|
|
|
|
"pass": "applications/posthog"
|
2023-11-07 16:12:03 +01:00
|
|
|
},
|
|
|
|
"*:8001": {
|
|
|
|
"pass": "routes/metrics"
|
|
|
|
},
|
|
|
|
"*:8081": {
|
|
|
|
"pass": "routes/status"
|
2023-09-21 17:50:19 +02:00
|
|
|
}
|
|
|
|
},
|
2023-11-07 16:12:03 +01:00
|
|
|
"routes": {
|
|
|
|
"metrics": [
|
|
|
|
{
|
|
|
|
"match": {
|
|
|
|
"uri": [
|
|
|
|
"/metrics"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"action": {
|
|
|
|
"pass": "applications/metrics"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"status": [
|
|
|
|
{
|
|
|
|
"match": {
|
|
|
|
"uri": [
|
|
|
|
"/status"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"action": {
|
|
|
|
"proxy": "http://unix:/var/run/control.unit.sock"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2023-09-21 17:50:19 +02:00
|
|
|
"applications": {
|
|
|
|
"posthog": {
|
|
|
|
"type": "python 3.10",
|
|
|
|
"processes": 1,
|
|
|
|
"working_directory": "/code",
|
|
|
|
"path": ".",
|
2023-11-07 16:12:03 +01:00
|
|
|
"module": "posthog.wsgi",
|
|
|
|
"user": "nobody"
|
|
|
|
},
|
|
|
|
"metrics": {
|
|
|
|
"type": "python 3.10",
|
|
|
|
"processes": 1,
|
|
|
|
"working_directory": "/code/bin",
|
|
|
|
"path": ".",
|
|
|
|
"module": "unit_metrics",
|
|
|
|
"user": "nobody"
|
|
|
|
},
|
2023-09-21 17:50:19 +02:00
|
|
|
}
|
|
|
|
}
|