Which settings need to stay in `nginx_stage.yml`?

We’re cleaning up and modernizing the OOD configs that we first wrote ~5 years ago. Right now, we’re moving a bunch of settings from pun_custom_env in nginx_stage.yml to equivalents in ondemand.d/ondemand.yml – for example, moving OOD_DASHBOARD_TITLE in nginx_stage.yml to dashboard_title in ondemand.d/ondemand.yml.

My question is: Which settings must still say in nginx_stage.yml? Right now, we still have passenger_options, pun_access_log_path, and pun_error_log_path in nginx_stage.yml

Many thanks,
Ron

Hey Ron,

The full list of which configs belong where is included in the Configuration Reference Docs, and I can confirm that those 3 have to be there.

If you need to double check anything, you can always search for a specific config in configuration_singleton.rb (you can select the tag for the version you use), which is the entry point for every profile or environment configuration used by the dashboard. If a dashboard config doesn’t work the way it should, that is a great place to start debugging.

1 Like

Excellent, thank you! I had seen the ondemand.d/*.yml docs, but for whatever reason, I completely missed the corresponding nginx_stage.yml docs.