How to install nginx-module-var (aarch64)
Dynamic variable assignment through predefined functions
Install
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo amazon-linux-extras install epel sudo yum -y install nginx-module-var
Description
The var module dynamically assigns new variables through predefined functions for NGINX. It provides operators like get_arg and get_upstream_cookie to retrieve argument and upstream set-cookie values. This is useful for complex configuration scenarios where you need to compute or extract variable values. To enable this module after installation, add the following to /etc/nginx/nginx.conf and reload NGINX: load_module modules/ngx_http_var_module.so; Alternatively, enable all installed modules by adding this line to the top of /etc/nginx/nginx.conf: include /usr/share/nginx/modules/*.conf;
Architecture
Optimized for aarch64 (ARM64) architecture. It can be used on AWS Graviton instances, as well as Raspberry Pi 4 and newer.
RPMs
| Package | Size | Changelog |
|---|---|---|
| nginx-module-var-1.30.2+0.1.3-2.amzn2.gps.aarch64 | 37 KiB | no changelog |
| nginx-module-var-1.30.1+0.1.3-2.amzn2.gps.aarch64 | 37 KiB | no changelog |
| nginx-module-var-1.30.1+0.1.3-1.amzn2.gps.aarch64 | 37 KiB | no changelog |
| nginx-module-var-1.30.0+0.1.3-1.amzn2.gps.aarch64 | 37 KiB | no changelog |
| nginx-module-var-1.28.3+0.1.3-2.amzn2.gps.aarch64 | 37 KiB | no changelog |
| nginx-module-var-1.28.3+0.1.3-1.amzn2.gps.aarch64 | 37 KiB | no changelog |
| nginx-module-var-1.28.3+0.1.2-1.amzn2.gps.aarch64 | 37 KiB | no changelog |
| nginx-module-var-1.28.3+0.1.1-1.amzn2.gps.aarch64 | 38 KiB | no changelog |
| nginx-module-var-1.28.2+0.1.1-1.amzn2.gps.aarch64 | 38 KiB | no changelog |
| nginx-module-var-1.28.2+0.1.0-1.amzn2.gps.aarch64 | 33 KiB | no changelog |