modifié: superTornado.py
This commit is contained in:
parent
c5036d0dc5
commit
7a7560e813
@ -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 :
|
||||
|
Reference in New Issue
Block a user