Skip to content

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

@idksup

Description

@idksup

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions