Skip to content

Commit

Permalink
Fix #403: sirepo_job_supervisor nginx conf needs to allow global-reso…
Browse files Browse the repository at this point in the history
…urces route (#404)
  • Loading branch information
e-carlin authored Nov 8, 2023
1 parent 634e66b commit 2ee3dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rsconf/package_data/sirepo_job_supervisor/nginx.conf.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ server {
{# no external server-supervisor requests #}
return 404;
}
location ~ ^/(job|sim)- {
location ~ ^/{{ "(job|sim" + ("|global" if sirepo.feature_config.get('enable_global_resources', False) else "") + ")" }}- {
client_max_body_size {{ sirepo.client_max_body_size }};
proxy_pass http://{{ nginx.backend_host }}:{{ nginx.backend_port }};
}
Expand Down

0 comments on commit 2ee3dba

Please sign in to comment.