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

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


The following commit(s) were added to refs/heads/develop by this push:
     new fbe83f3  Adding /media mapping for beta.simccs.org
fbe83f3 is described below

commit fbe83f30b668a07cf494d5c4bdb2c9ec8ca4febb
Author: Marcus Christie <[email protected]>
AuthorDate: Wed Apr 10 09:56:10 2019 -0400

    Adding /media mapping for beta.simccs.org
---
 .../scigap/develop/host_vars/simccs/files/django-ssl-vhost.conf.j2  | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/dev-tools/ansible/inventories/scigap/develop/host_vars/simccs/files/django-ssl-vhost.conf.j2
 
b/dev-tools/ansible/inventories/scigap/develop/host_vars/simccs/files/django-ssl-vhost.conf.j2
index 8b749ab..b6be6da 100644
--- 
a/dev-tools/ansible/inventories/scigap/develop/host_vars/simccs/files/django-ssl-vhost.conf.j2
+++ 
b/dev-tools/ansible/inventories/scigap/develop/host_vars/simccs/files/django-ssl-vhost.conf.j2
@@ -53,6 +53,12 @@
     AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css 
text/javascript application/javascript
     </Directory>
 
+    Alias /media/ {{ airavata_django_checkout }}/django_airavata/media/
+
+    <Directory {{ airavata_django_checkout }}/django_airavata/media>
+        Require all granted
+    </Directory>
+
     WSGIDaemonProcess {{ vhost_servername }} display-name=%{GROUP} 
python-home={{ doc_root_dir }}/venv python-path={{ doc_root_dir 
}}/airavata-django-portal processes={{ django_wsgi_processes }} user={{ user }} 
group={{ group }}
     WSGIProcessGroup {{ vhost_servername }}
 

Reply via email to