2018-08-02 10:41:40 +02:00
|
|
|
#!/usr/bin/python3
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
2018-09-03 17:24:48 +02:00
|
|
|
sys.path.append('/srv/vm')
|
2018-09-04 21:42:26 +02:00
|
|
|
from mgr.wsgiapp import WSGIApp
|
2018-08-02 10:41:40 +02:00
|
|
|
|
|
|
|
application = WSGIApp()
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
import os
|
2018-08-17 14:10:29 +02:00
|
|
|
from werkzeug.contrib.fixers import ProxyFix
|
2018-08-02 10:41:40 +02:00
|
|
|
from werkzeug.serving import run_simple
|
|
|
|
|
2018-10-26 19:08:14 +02:00
|
|
|
run_simple('127.0.0.1', 8080, ProxyFix(application), threaded=True)
|