uwsgi.ini 642 B

12345678910111213141516171819202122232425262728
  1. [uwsgi]
  2. ; bind to the specified UNIX/TCP socket and port (usually localhost)
  3. socket = 127.0.0.1:8001
  4. ; fail to start if any parameter in the configuration file isn’t explicitly understood by uWSGI.
  5. strict = true
  6. ; re-spawn and pre-fork workers
  7. master = true
  8. ; clear environment on exit
  9. vacuum = true
  10. ; exit if no app can be loaded
  11. need-app = true
  12. ; do not use multiple interpreters
  13. single-interpreter = true
  14. ; change to the project directory
  15. chdir = netbox
  16. ; specify the WSGI module to load
  17. module = netbox.wsgi
  18. ; only log internal messages and errors (reverse proxy already logs the requests)
  19. disable-logging = true
  20. log-5xx = true