X
X
xxx44yyy2020-03-11 00:28:44
Nginx
xxx44yyy, 2020-03-11 00:28:44

How is proxying done (in a general sense) for a single session?

There is aaa.com website. And there is bbb.com nginx is deployed on bbb. I want to make it so that I can give the right users a link bbb.com/1111, through which they can get to the closed area aaa.com But I don’t understand how this is done in a general sense. Is it possible to somehow indicate on bbb.com for nginx that using such and such a link, use such and such a session to visit that one? Or do I confuse everything and do it differently?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Eugene, 2020-03-11
@Nc_Soft

As an option, store sessions in memcached and nginx can check them and conditionally proxy them through https://nginx.org/ru/docs/http/ngx_http_memcached_...

K
ky0, 2020-03-11
@ky0

The first thing that comes to mind is HTTP Auth on bbb.com/1111followed by a redirect.

N
nokimaro, 2020-03-11
@nokimaro

You rather need to dig towards SSO (Single Sign- On ) https://ru.wikipedia.org/wiki/SSO your account (private part) on gmail.com and youtube.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question