added FastCGI config

This commit is contained in:
Kristjan Komlosi
2019-11-09 11:52:26 +01:00
parent bb9613ea41
commit 3523316c70

7
backend/terahz.fcgi Normal file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/python3
# Minimal flup configuration for Flask
from flup.server.fcgi import WSGIServer
from app import app
if __name__ == '__main__':
WSGIServer(app, bindAddress='/var/www/api/terahz.sock').run()