May I inquire as to whether it is possible to obtain the IP address of the user?

Yes.

First, configure X-Forwarded-For in NGINX.

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

Then, get the IP in the panel app via:

doc.session_context.request.headers.get('X-Forwarded-For').split(", ")[:-2]

2 Likes