Welcome! Log In Create A New Profile

Advanced

Re: Reverse proxy forcing language in cookies

Francis Daly
July 22, 2022 03:56AM
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@daoine.org
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

Reverse proxy forcing language in cookies

Saint Michael July 19, 2022 09:52PM

Re: Reverse proxy forcing language in cookies

Francis Daly July 22, 2022 03:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 129
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready