403 forbidden from Riak 1.2.0 when referer header is set
doug.muth at gmail.com
Wed Aug 15 09:54:45 EDT 2012
On Wed, Aug 15, 2012 at 8:24 AM, Fredrik Lindström
<Fredrik.Lindstrom at qbranch.se> wrote:
> I found this while digging around:
> "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
proxy_set_header Referer http://nginx.localdomain/keyspace...;
More information about the riak-users