From: Dan Scott Date: Tue, 18 Jul 2017 00:34:24 +0000 (-0400) Subject: Propagate the truth! X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=400ce5b233d33d08badcdc0887e97e748020301b;p=contrib%2FConifer.git Propagate the truth! Signed-off-by: Dan Scott --- 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)