nginx change referer for proxy

Solution 1:

You say that the proxied server asks for a domain name as a referer. Try that domain name instead of IP address.

proxy_set_header Referer "http://proxied-domain-here.com";

Solution 2:

Few years later, but this could be helpful to somewhere, you miss the port at the referer header (:8080):

    proxy_set_header Referer "http://192.168.10.10:8080";

I hope can be helpful.