netbox-docker/docker/nginx-unit.json

41 lines
606 B
JSON
Raw Normal View History

{
2021-02-08 03:54:08 -06:00
"listeners": {
"*:8080": {
"pass": "routes"
}
},
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
}
},
2021-02-08 03:54:08 -06:00
{
"action": {
"pass": "applications/netbox"
}
}
],
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
}
}
},
2021-02-08 03:54:08 -06:00
"access_log": "/dev/stdout"
}