Built-In Variables
Built-in variables in API7 Enterprise are pre-defined variables that can be directly referenced in configurations. They are often used in plugin configurations, route matching, and log customization.
API7 Enterprise supports three types of built-in variables:
- NGINX Variables
- APISIX Variables
These variables are evaluated in a given order.
NGINX Variables
NGINX provides a set of variables that can be used to access various request-specific information.
Some commonly used variables include:
upstream_addr
remote_addr
request_uri
server_name
uri
http_user_agent
See the complete list of NGINX variables for more information.