You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2022/06/09 18:33:46 UTC

[airavata] 01/02: Ansible: redirect global floods home page to app

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

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

commit db817edbb59e8fb7d0d1d0aea0a00e327cff9bc7
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Thu May 26 16:16:27 2022 -0400

    Ansible: redirect global floods home page to app
---
 .../inventories/scigap/production/host_vars/global-flood/vars.yml     | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-tools/ansible/inventories/scigap/production/host_vars/global-flood/vars.yml b/dev-tools/ansible/inventories/scigap/production/host_vars/global-flood/vars.yml
index 7acad63178..25fab34e85 100644
--- a/dev-tools/ansible/inventories/scigap/production/host_vars/global-flood/vars.yml
+++ b/dev-tools/ansible/inventories/scigap/production/host_vars/global-flood/vars.yml
@@ -27,6 +27,10 @@ airavata_django_extra_dependencies:
 
 vhost_servername: "global-floods-monitoring.scigap.org"
 vhost_ssl: True
+vhost_redirects:
+  - from: "^/$"
+    to: "/global_floods_django_app"
+    regex: true
 ssl_certificate_file: "/etc/letsencrypt/live/global-floods-monitoring.scigap.org/cert.pem"
 ssl_certificate_chain_file: "/etc/letsencrypt/live/global-floods-monitoring.scigap.org/fullchain.pem"
 ssl_certificate_key_file: "/etc/letsencrypt/live/global-floods-monitoring.scigap.org/privkey.pem"