2020-11-10 08:23:07 -06:00
|
|
|
{
|
2021-02-08 03:54:08 -06:00
|
|
|
"listeners": {
|
2022-11-23 07:40:03 -06:00
|
|
|
"0.0.0.0:8080": {
|
|
|
|
"pass": "routes"
|
|
|
|
},
|
|
|
|
"[::]:8080": {
|
2021-02-08 03:54:08 -06:00
|
|
|
"pass": "routes"
|
|
|
|
}
|
|
|
|
},
|
2020-11-10 08:23:07 -06:00
|
|
|
|
2021-02-08 03:54:08 -06:00
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"match": {
|
|
|
|
"uri": "/static/*"
|
|
|
|
},
|
|
|
|
"action": {
|
2021-08-31 03:57:37 -05:00
|
|
|
"share": "/opt/netbox/netbox${uri}"
|
2021-02-08 03:54:08 -06:00
|
|
|
}
|
|
|
|
},
|
2020-11-10 08:23:07 -06:00
|
|
|
|
2021-02-08 03:54:08 -06:00
|
|
|
{
|
|
|
|
"action": {
|
|
|
|
"pass": "applications/netbox"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2020-11-10 08:23:07 -06:00
|
|
|
|
2021-02-08 03:54:08 -06: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 08:23:07 -06:00
|
|
|
|
2021-02-08 03:54:08 -06:00
|
|
|
"access_log": "/dev/stdout"
|
2020-11-10 08:23:07 -06:00
|
|
|
}
|