modifié: superTornado.py
This commit is contained in:
parent
f8af5229b8
commit
2a00af2f2c
@ -205,10 +205,7 @@ 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()
|
||||||
http_server = tornado.httpserver.HTTPServer(application,ssl_options={
|
http_server = tornado.httpserver.HTTPServer(application)
|
||||||
"certfile": os.path.join("/lol", "server.crt"),
|
|
||||||
"keyfile": os.path.join("/ssl", "server.key"),
|
|
||||||
})
|
|
||||||
http_server.listen(portServ)
|
http_server.listen(portServ)
|
||||||
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