juvia icon indicating copy to clipboard operation
juvia copied to clipboard

Logo shown as broken link

Open cpfeiffer opened this issue 11 years ago • 0 comments

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

cpfeiffer avatar Sep 15 '14 19:09 cpfeiffer