This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/master by this push:
     new 484c9e6d30 Ansible: fixing bayesprism domain
484c9e6d30 is described below

commit 484c9e6d3086ea2255eb4e3b60c70ce1c6734d36
Author: Marcus Christie <[email protected]>
AuthorDate: Tue Sep 27 16:29:29 2022 -0400

    Ansible: fixing bayesprism domain
---
 .../inventories/scigap/production/host_vars/bayesprism/vars.yml  | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git 
a/dev-tools/ansible/inventories/scigap/production/host_vars/bayesprism/vars.yml 
b/dev-tools/ansible/inventories/scigap/production/host_vars/bayesprism/vars.yml
index afb77d699c..ac5bfd1240 100644
--- 
a/dev-tools/ansible/inventories/scigap/production/host_vars/bayesprism/vars.yml
+++ 
b/dev-tools/ansible/inventories/scigap/production/host_vars/bayesprism/vars.yml
@@ -22,7 +22,8 @@
 #gateway_data_store_resource_id: 
"js-168-166.jetstream-cloud.org_e86fd426-201a-461a-a0b4-4368af59ca28"
 #gateway_data_store_hostname: "js-168-166.jetstream-cloud.org"
 
-vhost_servername: "www.bayesprism.org"
+vhost_servername: "django.bayesprism.org"
+httpd_selinux_mode: "permissive"
 gateway_data_store_resource_id: 
"baysprism-gateway-host.BIO220088.projects.jetstream-cloud.org_fce7b852-a3b7-4a6b-ba9d-48269a9133e0"
 real_user_data_dir: "/media/volume/sdb/gateway-user-data"
 # Keep user_data_dir same as it was on old VM
@@ -33,9 +34,9 @@ tusd_vhost_servername:
 
 
 vhost_ssl: True
-ssl_certificate_file: "/etc/letsencrypt/live/www.bayesprism.org/cert.pem"
-ssl_certificate_chain_file: 
"/etc/letsencrypt/live/www.bayesprism.org/fullchain.pem"
-ssl_certificate_key_file: 
"/etc/letsencrypt/live/www.bayesprism.org/privkey.pem"
+ssl_certificate_file: "/etc/letsencrypt/live/{{ vhost_servername }}/cert.pem"
+ssl_certificate_chain_file: "/etc/letsencrypt/live/{{ vhost_servername 
}}/fullchain.pem"
+ssl_certificate_key_file: "/etc/letsencrypt/live/{{ vhost_servername 
}}/privkey.pem"
 
 # Increase max upload size to 1GB
 django_file_upload_max_file_size_mb: 1024

Reply via email to