As of Nesta 0.18.0, sites require the line set :host_authorization, { permitted_hosts: [] } (or something along those lines) to be added to app.rb in themes. If they do not do this, they generate a Host not permitted error when trying to access the site. This doesn't happen running locally; only when deployed. See here for the same error in a different context.
See here for documentation of host_authorization in Sinatra, and here for one way to handle this depending on whether in development or production environments. This way of handling it seems like it would be good to implement in Nesta itself, rather than by hand in themes.
As of Nesta 0.18.0, sites require the line
set :host_authorization, { permitted_hosts: [] }(or something along those lines) to be added toapp.rbin themes. If they do not do this, they generate aHost not permittederror when trying to access the site. This doesn't happen running locally; only when deployed. See here for the same error in a different context.See here for documentation of
host_authorizationin Sinatra, and here for one way to handle this depending on whether in development or production environments. This way of handling it seems like it would be good to implement in Nesta itself, rather than by hand in themes.