modifié: superTornado.py
This commit is contained in:
parent
087f8bfb0b
commit
6d84abdacf
@ -205,12 +205,10 @@ if __name__ == "__main__":
|
|||||||
try :
|
try :
|
||||||
log.printL("->Server Start ...",lvl.INFO)
|
log.printL("->Server Start ...",lvl.INFO)
|
||||||
tornado.options.parse_command_line()
|
tornado.options.parse_command_line()
|
||||||
print "lol"
|
|
||||||
http_server = tornado.httpserver.HTTPServer(application,ssl_options={
|
http_server = tornado.httpserver.HTTPServer(application,ssl_options={
|
||||||
"certfile": "/ssl/server.crt",
|
"certfile": "/ssl/server.csr",
|
||||||
"keyfile": "/ssl/server.key",
|
"keyfile": "/ssl/server.key",
|
||||||
})
|
})
|
||||||
print "lol1"
|
|
||||||
http_server.listen(433)
|
http_server.listen(433)
|
||||||
log.printL("->Server Start Successfully !",lvl.SUCCESS)
|
log.printL("->Server Start Successfully !",lvl.SUCCESS)
|
||||||
tornado.ioloop.IOLoop.instance().start()
|
tornado.ioloop.IOLoop.instance().start()
|
||||||
|
Reference in New Issue
Block a user