1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-31 21:17:23 +02:00

Replace Flask built-in WSGI server with gunicorn (#2158)

This commit is contained in:
Steve Hay
2022-09-17 08:03:16 -04:00
committed by GitHub
parent 7cda439c80
commit 3fd2e3efa9
4 changed files with 18 additions and 16 deletions

7
management/wsgi.py Normal file
View File

@@ -0,0 +1,7 @@
from daemon import app
import auth, utils
app.logger.addHandler(utils.create_syslog_handler())
if __name__ == "__main__":
app.run(port=10222)