mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:35:50 +02:00
Use ACME(TLS)Server in plugins.standalone
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user