Reverse proxy forcing language in cookies

Francis Daly francis at daoine.org
Fri Jul 22 07:55:53 UTC 2022


On Tue, Jul 19, 2022 at 09:51:24PM -0400, Saint Michael wrote:

Hi there,

> I was asked to proxy google.com through
> https://ГУГЛЭ.pl
> but I need to make Google believe that clients are behind a computer
> with the Russian language, not English.

The question of "what do I include in a request to invite Google to
respond in the Russian language" is probably best asked elsewhere.

(Because (I guess) there is more likely to be people who know the answer,
in a different group.)

Once you have the answer -- specific http headers, specific headers with
specific values, maybe something else -- then you can start to configure
your nginx to include those things in the requests that it makes to
its upstream.

I guess it will involve proxy_set_header, but I do not know what your
upstream requirements are.

(Typically, you reverse-proxy to a thing that you control, so that you
can know in advance if those requirements will change.)

Good luck with it,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list