61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"listeners": {
|
|
"*:8080": {
|
|
"pass": "routes"
|
|
}
|
|
},
|
|
"routes": [
|
|
{
|
|
"match": {
|
|
"uri": [
|
|
"/satitm/get_data"
|
|
]
|
|
},
|
|
"action": {
|
|
"pass": "applications/iqair-apiserver-satitm",
|
|
"rewrite": "/get_data"
|
|
}
|
|
},
|
|
{
|
|
"match": {
|
|
"uri": [
|
|
"/satite/get_data"
|
|
]
|
|
},
|
|
"action": {
|
|
"pass": "applications/iqair-apiserver-satite",
|
|
"rewrite": "/get_data"
|
|
}
|
|
}, {
|
|
"match": {
|
|
"uri": [
|
|
"/*"
|
|
]
|
|
},
|
|
"action": {
|
|
"share": "/app/iqair-apiserver/static/$uri",
|
|
"index": "index.html"
|
|
}
|
|
}
|
|
],
|
|
"applications": {
|
|
"iqair-apiserver-satitm": {
|
|
"type": "python 3.8",
|
|
"path": "/app/iqair-apiserver",
|
|
"home": "/app/venv",
|
|
"module": "app",
|
|
"callable": "app",
|
|
"working_directory": "/app/env-satitm"
|
|
},
|
|
"iqair-apiserver-satite": {
|
|
"type": "python 3.8",
|
|
"path": "/app/iqair-apiserver",
|
|
"home": "/app/venv",
|
|
"module": "app",
|
|
"callable": "app",
|
|
"working_directory": "/app/env-satite"
|
|
}
|
|
}
|
|
|
|
}
|