Skip to content
Snippets Groups Projects
Commit 82b7eab1 authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

feat: Set origin to OOD for shell app to avoid CORS

parent ab2e4702
No related branches found
No related tags found
No related merge requests found
...@@ -93,4 +93,5 @@ ...@@ -93,4 +93,5 @@
# ood_config # ood_config
ood_internal_ip: 10.141.0.133 ood_internal_ip: 10.141.0.133
ood_hostname: ood-gpfs5-01 ood_hostname: ood-gpfs5-01
ood_domain: https://rc.uab.edu
login_hostname: login-gpfs5-01 login_hostname: login-gpfs5-01
...@@ -9,6 +9,11 @@ ...@@ -9,6 +9,11 @@
url: https://s3.lts.rc.uab.edu/ood-proxy-file/ood-proxy.conf url: https://s3.lts.rc.uab.edu/ood-proxy-file/ood-proxy.conf
dest: /opt/rh/httpd24/root/etc/httpd/conf.d/ood-proxy.conf dest: /opt/rh/httpd24/root/etc/httpd/conf.d/ood-proxy.conf
- name: Shell app configuration env
ansible.builtin.template:
src: shell_app.env.j2
dest: /etc/ood/config/apps/shell/env
- name: Point shell app to login node - name: Point shell app to login node
ansible.builtin.replace: ansible.builtin.replace:
path: /etc/ood/config/clusters.d/SLURM_CLUSTER.yml path: /etc/ood/config/clusters.d/SLURM_CLUSTER.yml
......
OOD_SHELL_ORIGIN_CHECK='{{ ood_domain }}'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment