Committing source
This commit is contained in:
24
lab_app/lab_app_uwsgi.ini
Executable file
24
lab_app/lab_app_uwsgi.ini
Executable file
@ -0,0 +1,24 @@
|
||||
#Full path: /var/www/lab_app/lab_app_uwsgi.ini
|
||||
|
||||
[uwsgi]
|
||||
#application's base folder
|
||||
base = /var/www/lab_app
|
||||
|
||||
#python module to import
|
||||
app = lab_app
|
||||
module = %(app)
|
||||
|
||||
home = %(base)/venv
|
||||
pythonpath = %(base)
|
||||
|
||||
#socket file's location
|
||||
socket = /var/www/lab_app/%n.sock
|
||||
|
||||
#permissions for the socket file
|
||||
chmod-socket = 666
|
||||
|
||||
#the variable that holds a flask application inside the module imported at line #6
|
||||
callable = app
|
||||
|
||||
#location of log files
|
||||
logto = /var/log/uwsgi/%n.log
|
Reference in New Issue
Block a user