server version merge

main
erreur401 2 years ago
parent 1abc92aa1e
commit 8d23e44fda
  1. 12
      app.wsgi
  2. 20
      uwsgi.ini

@ -0,0 +1,12 @@
#!/usr/bin/env python3
from app import app
def application(environ, start_response):
return app(environ, start_response)
if __name__ == "__main__":
app.run()

@ -0,0 +1,20 @@
[uwsgi]
module = app:app
master = true
#callable = app
#plugins = python3
wsgi-file = /home/zvevqx/app/lpe/app.py
home = /home/zvevqx/app/lpe
mount = /lpe=app.py
manage-script-name = true
virtualenv = /home/zvevqx/app/lpe/venv
socket = /tmp/lpe.sock
chmod-socket = 666
env = DEBUG=False
env = SCRIPT_NAME=/lpe
die-on-term = true
vaccuum = true
Loading…
Cancel
Save