瀏覽代碼

Fixes #16032: Specify the WSGI module to load in uwsgi.ini

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

+ 6 - 0
contrib/uwsgi.ini

@@ -16,3 +16,9 @@ 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