Closed johrstrom closed 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
.
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