Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Logo shown as broken link #64

@cpfeiffer

Description

@cpfeiffer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions