gunicorn.conf 538 B

12345678910111213141516171819202122
  1. # Bind is the ip and port that the Netbox WSGI should bind to
  2. #
  3. bind='127.0.0.1:8001'
  4. # Workers is the number of workers that GUnicorn should spawn.
  5. # Workers should be: cores * 2 + 1. So if you have 8 cores, it would be 17.
  6. #
  7. workers=3
  8. # Threads
  9. # The number of threads for handling requests
  10. #
  11. threads=3
  12. # Timeout is the timeout between gunicorn receiving a request and returning a response (or failing with a 500 error)
  13. #
  14. timeout=120
  15. # ErrorLog
  16. # ErrorLog is the logfile for the ErrorLog
  17. #
  18. errorlog='/opt/netbox/netbox.log'