modifié: superTornado.py
This commit is contained in:
parent
f8af5229b8
commit
2a00af2f2c
@ -205,10 +205,7 @@ if __name__ == "__main__":
|
||||
try :
|
||||
log.printL("->Server Start ...",lvl.INFO)
|
||||
tornado.options.parse_command_line()
|
||||
http_server = tornado.httpserver.HTTPServer(application,ssl_options={
|
||||
"certfile": os.path.join("/lol", "server.crt"),
|
||||
"keyfile": os.path.join("/ssl", "server.key"),
|
||||
})
|
||||
http_server = tornado.httpserver.HTTPServer(application)
|
||||
http_server.listen(portServ)
|
||||
log.printL("->Server Start Successfully !",lvl.SUCCESS)
|
||||
tornado.ioloop.IOLoop.instance().start()
|
||||
|
Reference in New Issue
Block a user