diff --git a/ansible/deploy.yaml b/ansible/deploy.yaml index f943fc800c472398bcaba50c66a0160df2ec68e6..a7b9b33ced94eba8c1c5e73e7b1b5d0ad6ea4e06 100644 --- a/ansible/deploy.yaml +++ b/ansible/deploy.yaml @@ -289,7 +289,7 @@ BABEL_LIBDIR: "/usr/lib64/openbabel/" - name: create mod_wsgi configuration django_manage: - command: "runmodwsgi --setup-only --port={{ http_port }} --user ippidb --group wheel --server-root={{ service_conf_path }}" + command: "runmodwsgi --setup-only --port={{ http_port }} --user ippidb --group wheel --server-root={{ service_conf_path }} --url-alias /media {{ checkout_path }}/ippisite/media" app_path: "{{ checkout_path }}/ippisite" settings: "ippisite.{{ ansible_hostname }}_settings" environment: