Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logo shown as broken link #64

Open
cpfeiffer opened this issue Sep 15, 2014 · 0 comments
Open

Logo shown as broken link #64

cpfeiffer opened this issue Sep 15, 2014 · 0 comments

Comments

@cpfeiffer
Copy 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant