{ "listeners": { "*:80": { "pass": "routes" } }, "routes": [ { "match": { "uri": [ "/content/*", "!~\\.db" ] }, "action": { "share": "/app/" } }, { "match": { "uri": "/static/*" }, "action": { "share": "/app/CalibreWebCompanion/" } }, { "match": { "uri": [ "!~\\.db", "*" ] }, "action": { "pass": "applications/django" } } ], "applications": { "django": { "type": "python 3", "path": "/app/CalibreWebCompanion/", "module": "CalibreWebCompanion.wsgi", "environment": { "DJANGO_SETTINGS_MODULE": "CalibreWebCompanion.settings", "DB_ENGINE": "django.db.backends.sqlite3" }, "processes" : { "max": 25, "spare": 1, "idle_timeout": 20 } } } }