OSC / ood-documentation

Documentation for Open OnDemand generated using Sphinx
https://osc.github.io/ood-documentation/latest/
MIT License
10 stars 53 forks source link

add docs for allowed hosts #779

Closed johrstrom closed 11 months ago

johrstrom commented 1 year ago

Rails apps don't respond directly to the updates around allowed hosts. So add some documentation for enabling config.hosts like the dashboard does:

https://github.com/OSC/ondemand/blob/4aaf7fca0b68d7e007b4966218b2668b58bd0bce/apps/dashboard/config/environments/production.rb#L103

┆Issue is synchronized with this Asana task by Unito

johrstrom commented 11 months ago

I must have made this before we setup support for this. It should just work by populating the ALLOWED_HOSTS environment variable. What's more is when you add server_aliases in ood_portal.yml - those too should just work.

So I'm repurposing this ticket to document server_aliases.