In this case, I usually set the corresponding variable to the request header or response header. This is very simple to implement. If the response header is to be set for security reasons, do not set sensitive information in the response header.
- How to create new built-in variables of nginx on openresty? hui li
- Re: How to create new built-in variables of nginx on o... YuanSheng Wang
- Re: How to create new built-in variables of nginx on o... jie123108