summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/https.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/conf_mode/https.py b/src/conf_mode/https.py
index d5aa1f5b3..2e7aeb5a4 100755
--- a/src/conf_mode/https.py
+++ b/src/conf_mode/https.py
@@ -133,12 +133,12 @@ def get_config():
else:
conf.set_level('service https')
- if conf.exists('listen-addresses'):
+ if conf.exists('listen-address'):
addrs = {}
- for addr in conf.list_nodes('listen-addresses'):
+ for addr in conf.list_nodes('listen-address'):
addrs[addr] = ['_']
- if conf.exists('listen-addresses {0} server-names'.format(addr)):
- names = conf.return_values('listen-addresses {0} server-names'.format(addr))
+ if conf.exists('listen-address {0} server-names'.format(addr)):
+ names = conf.return_values('listen-address {0} server-names'.format(addr))
addrs[addr] = names[:]
https['listen_addresses'] = addrs