netbox-docker/docker/nginx-unit.json

44 lines
661 B
JSON
Raw Normal View History

{
2021-02-08 10:54:08 +01:00
"listeners": {
"0.0.0.0:8080": {
"pass": "routes"
},
"[::]:8080": {
2021-02-08 10:54:08 +01:00
"pass": "routes"
}
},
2021-02-08 10:54:08 +01:00
"routes": [
{
"match": {
"uri": "/static/*"
},
"action": {
2021-08-31 10:57:37 +02:00
"share": "/opt/netbox/netbox${uri}"
2021-02-08 10:54:08 +01:00
}
},
2021-02-08 10:54:08 +01:00
{
"action": {
"pass": "applications/netbox"
}
}
],
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
}
}
},
2021-02-08 10:54:08 +01:00
"access_log": "/dev/stdout"
}