Impersonation in Nginx

Francis Daly francis at daoine.org
Wed Sep 28 08:19:27 UTC 2022


On Thu, Sep 22, 2022 at 11:07:36AM -0400, suryamohan05 wrote:

Hi there,

> Does Nginx has a feasibility to pass impersonation in of the config file.

I'm afraid I don't understand what you are asking.

I suspect that a translation to english chose the wrong possible meaning
of the word you are using?

Could you use more, or other, words to describe what you want?

If you mean: when a user talks to nginx, can nginx send a different http
Host: header to different upstream services, then "yes".

If you mean: when a user talks to nginx, can nginx send that user's http
Basic Authentication credentials, or "login" Cookie, to the upstream,
then "yes".

If you mean: the same, but nginx sends *another* user's credential, then
"maybe" (you can hard-code the http headers to send on every request).

Maybe your question is clear to someone else who can answer; but in case
not, if you re-ask with an example, you might get a better answer.

Thanks,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list