| 12345678910111213141516171819202122232425262728293031323334 |
- [uwsgi]
- ; bind to the specified UNIX/TCP socket and port (usually localhost)
- socket = 127.0.0.1:8001
- ; fail to start if any parameter in the configuration file isn’t explicitly understood by uWSGI.
- strict = true
- ; re-spawn and pre-fork workers
- master = true
- ; clear environment on exit
- vacuum = true
- ; make SIGTERM stop the app (instead of reload)
- die-on-term = true
- ; exit if no app can be loaded
- need-app = true
- ; do not use multiple interpreters
- single-interpreter = true
- ; change to the project directory
- chdir = netbox
- ; specify the WSGI module to load
- module = netbox.wsgi
- ; workaround to make uWSGI reloads work with pyuwsgi (not to be used if using uwsgi package instead)
- binary-path = venv/bin/python
- ; only log internal messages and errors (reverse proxy already logs the requests)
- disable-logging = true
- log-5xx = true
|