juvia
juvia copied to clipboard
Logo shown as broken link
It took me quite a while to figure out why the juvia logo was always shown as a broken link. Manually downloading it always gave a 404 error.
The reason are the two options in config/environments/production.rb config.serve_static_assets = false config.action_dispatch.x_sendfile_header = "X-Sendfile" # Use 'X-Accel-Redirect' for nginx
In case there is no surrounding apache or apache is not configured to honor X-Sendfile headers, the static images will never be served.
It would be helpful to have a short blurb documenting this. If you think that this does not fit into the main page, then maybe this ticket might even suffice.
Thanks Carsten