import http.server, ssl, os
os.chdir('/root/pub')
srv=http.server.HTTPServer(('0.0.0.0',443), http.server.SimpleHTTPRequestHandler)
ctx=ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
ctx.load_cert_chain('/root/.acme.sh/192.227.251.83.nip.io_ecc/fullchain.cer','/root/.acme.sh/192.227.251.83.nip.io_ecc/192.227.251.83.nip.io.key')
srv.socket=ctx.wrap_socket(srv.socket,server_side=True)
srv.serve_forever()
