https://nginx101.com/modules/var/directives
Dynamic variable assignment through predefined functions Complete Reference — 1 | NGINX101
Explore the var NGINX module directives and install nginx-module-var from GetPageSpeed as an RPM or DEB package.
dynamic variablepredefined functionsassignmentcompletereference