added FastCGI config
This commit is contained in:
7
backend/terahz.fcgi
Normal file
7
backend/terahz.fcgi
Normal 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()
|
||||||
Reference in New Issue
Block a user