iqair-apiserver/nginx.json

61 lines
1.5 KiB
JSON
Raw Normal View History

2024-01-04 04:56:08 +00:00
{
"listeners": {
2024-01-09 07:13:16 +00:00
"*:8080": {
2024-01-04 04:56:08 +00:00
"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": {
2024-01-09 07:13:16 +00:00
"type": "python 3.8",
2024-01-04 04:56:08 +00:00
"path": "/app/iqair-apiserver",
"home": "/app/venv",
"module": "app",
"callable": "app",
"working_directory": "/app/env-satitm"
},
"iqair-apiserver-satite": {
2024-01-09 07:13:16 +00:00
"type": "python 3.8",
2024-01-04 04:56:08 +00:00
"path": "/app/iqair-apiserver",
"home": "/app/venv",
"module": "app",
"callable": "app",
"working_directory": "/app/env-satite"
}
}
2024-01-09 07:13:16 +00:00
}