From 400ce5b233d33d08badcdc0887e97e748020301b Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 17 Jul 2017 20:34:24 -0400 Subject: [PATCH] Propagate the truth! Signed-off-by: Dan Scott --- Open-ILS/src/support-scripts/webserver_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/support-scripts/webserver_config.py b/Open-ILS/src/support-scripts/webserver_config.py index 566d8b4abe..0b74e6c2f7 100755 --- a/Open-ILS/src/support-scripts/webserver_config.py +++ b/Open-ILS/src/support-scripts/webserver_config.py @@ -204,7 +204,7 @@ def generate_config(test=True): f.write(sockets_conf) with open(os.path.join('nginx/sites-available', 'conifer.conf'), 'w') as f: - for host in mutate_test_hostnames(): + for host in mutate_test_hostnames(test): f.write(server_block.format(hostname=host)) with open(os.path.join('apache2/sites-available', 'conifer.conf'), 'w') as f: @@ -213,7 +213,7 @@ def generate_config(test=True): def generate_certbot(test=True): """Generate certbot command""" certbot = 'certbot --nginx run ' - for host in mutate_test_hostnames(): + for host in mutate_test_hostnames(test): if host in missing_test_domains: continue certbot = certbot + " -d {hostname}".format(hostname=host) -- 2.43.2