2021-03-02 03:09:15 +00:00
|
|
|
{
|
|
|
|
"listeners": {
|
|
|
|
"*:80": {
|
|
|
|
"pass": "routes"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"routes": [
|
|
|
|
{
|
2021-03-02 03:31:38 +00:00
|
|
|
"match": {"uri": "/static/*"},
|
|
|
|
"action": {"share": "/usr/src/app/CalibreWebCompanion/static"}
|
2021-03-02 03:09:15 +00:00
|
|
|
},
|
|
|
|
{
|
2021-03-02 03:31:38 +00:00
|
|
|
"match": {"uri": "/download/*"},
|
|
|
|
"action": {"share": "/usr/src/app/calibredir"}
|
2021-03-02 03:09:15 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"action": {
|
|
|
|
"pass": "applications/django"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"applications": {
|
|
|
|
"django": {
|
|
|
|
"type": "python 3",
|
|
|
|
"path": "/usr/src/app/CalibreWebCompanion/",
|
|
|
|
"module": "CalibreWebCompanion.wsgi",
|
|
|
|
"environment": {
|
|
|
|
"DJANGO_SETTINGS_MODULE": "CalibreWebCompanion.settings",
|
|
|
|
"DB_ENGINE": "django.db.backends.sqlite3"
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|