17 lines
397 B
INI
17 lines
397 B
INI
[uwsgi]
|
|
#application's base folder
|
|
base = /var/www/app
|
|
#python module to import
|
|
module = bgp
|
|
#the variable that holds a flask application inside the module imported at line #6
|
|
callable = app
|
|
#socket file's location
|
|
socket = /var/www/app/uwsgi.sock
|
|
#permissions for the socket file
|
|
chmod-socket = 666
|
|
#Log directory
|
|
logto = /var/log/uwsgi/app/app.log
|
|
enable-threads = true
|
|
|
|
chdir = /var/www/app
|