I have set up a very basic proxy rule in nginx. However the resources where the request are proxyed do a referer check. It must be the same domain the service is running at. I therefore need to change the referer. I tried a proxy_set_header but that doesn´t seem to work.
Am I missing something or is there any other way to do this?
location /api/v1/ {
proxy_pass http://192.168.10.10:8080;
proxy_set_header Referer "http://192.168.10.10";
}