You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by lf...@apache.org on 2020/08/04 07:38:02 UTC
[incubator-dlab] branch DLAB-1594-2 updated: [DLAB-1594]: added
check if letsencrypt are enabled before configuring nginx
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DLAB-1594-2
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1594-2 by this push:
new c97d902 [DLAB-1594]: added check if letsencrypt are enabled before configuring nginx
c97d902 is described below
commit c97d9026d57b406c03b656d0ece62f137475fb96
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Aug 4 10:37:45 2020 +0300
[DLAB-1594]: added check if letsencrypt are enabled before configuring nginx
---
infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py b/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
index c4d5269..dd12e9d 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
@@ -305,8 +305,9 @@ if __name__ == "__main__":
print("Configuring nginx.")
configure_nginx(deeper_config, args.dlab_path, args.hostname)
- print("Configuring nginx letsencrypt certificates.")
- configure_nginx_LE(os.environ['conf_letsencrypt_domain_name'])
+ if os.environ['conf_letsencrypt_enabled'] == 'true':
+ print("Configuring nginx letsencrypt certificates.")
+ configure_nginx_LE(os.environ['conf_letsencrypt_domain_name'])
#print("Installing jenkins.")
#ensure_jenkins(args.dlab_path)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org