modifié: superTornado.py

This commit is contained in:
sidya82 2014-03-13 11:49:17 +01:00
parent c5036d0dc5
commit 7a7560e813
1 changed files with 2 additions and 5 deletions

View File

@ -205,11 +205,8 @@ 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("/ssl", "server.crt"),
"keyfile": os.path.join("/ssl", "key.crt"),
})
http_server.listen(443)
http_server = tornado.httpserver.HTTPServer(application)
http_server.listen(portServ)
log.printL("->Server Start Successfully !",lvl.SUCCESS)
tornado.ioloop.IOLoop.instance().start()
except Exception, e :