modifié: superTornado.py

This commit is contained in:
sidya82 2014-03-12 16:47:15 +01:00
parent f8af5229b8
commit 2a00af2f2c
1 changed files with 1 additions and 4 deletions

View File

@ -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()