Fix default ACME config for py2 (#4564)

Fixes #4559
This commit is contained in:
Richard van der Hoff 2019-02-05 11:37:33 +00:00 committed by GitHub
parent 9a75c0b52e
commit bf1e4d96ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/4564.bugfix Normal file
View File

@ -0,0 +1 @@
Fix default ACME config for py2

View File

@ -37,7 +37,7 @@ class TlsConfig(Config):
self.acme_enabled = acme_config.get("enabled", False)
self.acme_url = acme_config.get(
"url", "https://acme-v01.api.letsencrypt.org/directory"
"url", u"https://acme-v01.api.letsencrypt.org/directory"
)
self.acme_port = acme_config.get("port", 80)
self.acme_bind_addresses = acme_config.get("bind_addresses", ['::', '0.0.0.0'])