On Wed, Aug 15, 2012 at 8:24 AM, Fredrik Lindström
<fredrik.lindst...@qbranch.se> wrote:
>
> I found this while digging around:
> https://github.com/basho/riak_kv/commit/3cd75e76c20b77dec2be0cb36892f5cc79dbec0b
> "Validate that the Referer matches up with scheme, host and port of the
> machine that received the request"
>
> Since the referer (http://mysupderduperwebapp.xyz/snazzypage.html) will not
> match the scheme, host and port of the riak node that received the request
> no image will be served.
> Is there any way to configure riak 1.2.0 to allow any referer header value?
>

If you're running requests to Riak through a firewall/proxy, why not
rewrite the Referrer header there?  In nginx, it'd be something like
this:

proxy_set_header Referer http://nginx.localdomain/keyspace...;

-- Doug
http://www.dmuth.org/

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to