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

Assets return empty reply from server unless {allow_ip_blocks, ["127.0.0.1"]} #15

Open
idksup opened this issue Sep 4, 2012 · 0 comments
Assignees
Milestone

Comments

@idksup
Copy link

idksup commented Sep 4, 2012

On a deploy of HEAD SHA: 3951cdd requests for stylesheets return an "empty status from server" unless the request is from localhost.

Say cb_admin is properly configured under another CB app, and allow_ip_blocks = a public IP, requests to /admin will load the HTML correctly, however the page will not contain styles because when the browser requests to:

/admin/static/stylesheets/application.css?1298394796

CB returns an empty response (also crashes the nginx worker that handled it..)

My workaround is to set allow_ip_blocks to 127.0.0.1 and rewrite the headers to be 127.0.0.1 inside the HTTP server.

@ghost ghost assigned zkessin Jan 6, 2014
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

2 participants