Customize /opt/ood/nginx_stage/templates/pun.conf.erb

I want to add a directory for individual puns to host

example “https://myood-site/api”

Other than directly editing /opt/ood/nginx_stage/templates/pun.conf.erb there does not seem to be a way to add:

location /api/ {
  root /dev/shm/api;
}

creating /etc/ood/config/nginx_stage/templates/pun.conf.erb is not used when nginx starts for the user

ondemand: 3.1

Any suggestions on where I should put the config so upgrades do not overwrite my changes?

regards,

jesse

apprently it is redirectable

/etc/ood/config/nginx_stage.yml

still may break after an upgrade, but atleast not overwrite my modifications

Location of the ERB templates used in the generation of the NGINX configs

#template_root: ‘/opt/ood/nginx_stage/templates’
template_root: ‘/etc/ood/config/nginx_stage/templates’