mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 11:42:17 +02:00
Store temporary DVSNI files in IConfig.work_dir.
This commit is contained in:
@@ -141,7 +141,7 @@ class ApacheDvsni(common.Dvsni):
|
|||||||
"""
|
"""
|
||||||
ips = " ".join(str(i) for i in ip_addrs)
|
ips = " ".join(str(i) for i in ip_addrs)
|
||||||
document_root = os.path.join(
|
document_root = os.path.join(
|
||||||
self.configurator.config.config_dir, "dvsni_page/")
|
self.configurator.config.work_dir, "dvsni_page/")
|
||||||
# TODO: Python docs is not clear how mutliline string literal
|
# TODO: Python docs is not clear how mutliline string literal
|
||||||
# newlines are parsed on different platforms. At least on
|
# newlines are parsed on different platforms. At least on
|
||||||
# Linux (Debian sid), when source file uses CRLF, Python still
|
# Linux (Debian sid), when source file uses CRLF, Python still
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ class NginxDvsni(common.Dvsni):
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
document_root = os.path.join(
|
document_root = os.path.join(
|
||||||
self.configurator.config.config_dir, "dvsni_page")
|
self.configurator.config.work_dir, "dvsni_page")
|
||||||
|
|
||||||
block = [['listen', str(addr)] for addr in addrs]
|
block = [['listen', str(addr)] for addr in addrs]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user