Use ACME(TLS)Server in plugins.standalone

This commit is contained in:
Jakub Warmuz
2015-10-04 11:31:52 +00:00
parent b0efc61f97
commit d1fcc422e0
+2 -2
View File
@@ -44,9 +44,9 @@ class ServerManager(object):
if tls:
cls = functools.partial(
acme_standalone.HTTPSServer, certs=self.certs)
acme_standalone.ACMETLSServer, certs=self.certs)
else:
cls = BaseHTTPServer.HTTPServer
cls = acme_standalone.ACMEServer
try:
server = cls(("", port), handler)