modifié: superTornado.py
This commit is contained in:
parent
266613b7da
commit
c5036d0dc5
@ -206,8 +206,8 @@ if __name__ == "__main__":
|
|||||||
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,ssl_options={
|
||||||
"certfile": "/ssl/server.csr",
|
"certfile": os.path.join("/ssl", "server.crt"),
|
||||||
"keyfile": "/ssl/server.key",
|
"keyfile": os.path.join("/ssl", "key.crt"),
|
||||||
})
|
})
|
||||||
http_server.listen(443)
|
http_server.listen(443)
|
||||||
log.printL("->Server Start Successfully !",lvl.SUCCESS)
|
log.printL("->Server Start Successfully !",lvl.SUCCESS)
|
||||||
|
Reference in New Issue
Block a user