2020-11-10 15:23:07 +01:00
|
|
|
{
|
2021-02-08 10:54:08 +01:00
|
|
|
"listeners": {
|
|
|
|
"*:8080": {
|
|
|
|
"pass": "routes"
|
|
|
|
}
|
|
|
|
},
|
2020-11-10 15:23:07 +01:00
|
|
|
|
2021-02-08 10:54:08 +01:00
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"match": {
|
|
|
|
"uri": "/static/*"
|
|
|
|
},
|
|
|
|
"action": {
|
2021-11-25 11:01:04 +01:00
|
|
|
"share": "/opt/netbox/netbox${uri}"
|
2021-02-08 10:54:08 +01:00
|
|
|
}
|
|
|
|
},
|
2020-11-10 15:23:07 +01:00
|
|
|
|
2021-02-08 10:54:08 +01:00
|
|
|
{
|
|
|
|
"action": {
|
|
|
|
"pass": "applications/netbox"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2020-11-10 15:23:07 +01:00
|
|
|
|
2021-02-08 10:54:08 +01:00
|
|
|
"applications": {
|
|
|
|
"netbox": {
|
|
|
|
"type": "python 3",
|
|
|
|
"path": "/opt/netbox/netbox/",
|
|
|
|
"module": "netbox.wsgi",
|
|
|
|
"home": "/opt/netbox/venv",
|
|
|
|
"processes": {
|
|
|
|
"max": 4,
|
|
|
|
"spare": 1,
|
|
|
|
"idle_timeout": 120
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2020-11-10 15:23:07 +01:00
|
|
|
|
2021-02-08 10:54:08 +01:00
|
|
|
"access_log": "/dev/stdout"
|
2020-11-10 15:23:07 +01:00
|
|
|
}
|