mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-21 00:11:39 +02:00
15154 Add uWSGI as option to gunicorn (#15550)
* 15154 uwsgi docs * 15154 uwsgi contrib files * 15154 review comments - merge nginx conf * Restructure gunicorn/uWSGI installation docs --------- Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
18
contrib/uwsgi.ini
Normal file
18
contrib/uwsgi.ini
Normal file
@@ -0,0 +1,18 @@
|
||||
[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
|
||||
|
||||
; exit if no app can be loaded
|
||||
need-app = true
|
||||
|
||||
; do not use multiple interpreters
|
||||
single-interpreter = true
|
||||
Reference in New Issue
Block a user