瀏覽代碼

Closes #16056: Add binary-path configuration in uwsgi.ini

Markku Leiniö 1 年之前
父節點
當前提交
2a06e1990a
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      contrib/uwsgi.ini

+ 3 - 0
contrib/uwsgi.ini

@@ -26,6 +26,9 @@ chdir = netbox
 ; specify the WSGI module to load
 ; specify the WSGI module to load
 module = netbox.wsgi
 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)
 ; only log internal messages and errors (reverse proxy already logs the requests)
 disable-logging = true
 disable-logging = true
 log-5xx = true
 log-5xx = true