forked from innovacion/Mayacontigo
ic
This commit is contained in:
31
.containers/unit/unit.json
Normal file
31
.containers/unit/unit.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"listeners": {
|
||||
"*:80": {
|
||||
"pass": "routes"
|
||||
}
|
||||
},
|
||||
"applications": {
|
||||
"fastapi": {
|
||||
"type": "python3",
|
||||
"path": "/",
|
||||
"module": "api.server",
|
||||
"callable": "app"
|
||||
}
|
||||
},
|
||||
"routes": [
|
||||
{
|
||||
"match": {
|
||||
"uri": "/api/*"
|
||||
},
|
||||
"action": {
|
||||
"pass": "applications/fastapi"
|
||||
}
|
||||
},
|
||||
{
|
||||
"action": {
|
||||
"share": "/index$uri",
|
||||
"types": ["image/*", "font/*", "text/*", "application/*"]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user