How to install nginx-module-testcookie (x86_64)
NGINX testcookie robot mitigation module
Install
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install yum-utils sudo yum-config-manager --enable getpagespeed-extras-mainline sudo yum -y install nginx-module-testcookie
Description
Simple robot mitigation module using cookie based challenge/response technique. Not supported any more. Challenge cookies can be set using different methods: * "Set-Cookie" + 302/307 HTTP Location redirect * "Set-Cookie" + HTML meta refresh redirect * Custom template, JavaScript can be used here. To prevent automatic parsing, challenge cookie value can be encrypted with AES-128 in CBC mode using custom/random key and iv, and then decrypted at client side with JavaScript. To enable this module after installation, add the following to /etc/nginx/nginx.conf and reload NGINX: load_module modules/ngx_http_testcookie_access_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;
RPMs
| Package | Size | Built | Changes |
|---|---|---|---|
| nginx-module-testcookie-1.31.2+1.28-2.amzn2023.gps.x86_64 | 34 KiB | 2026-06-18 | no changelog |
| nginx-module-testcookie-1.31.1+1.28-2.amzn2023.gps.x86_64 | 34 KiB | 2026-05-23 | no changelog |
| nginx-module-testcookie-1.31.0+1.28-2.amzn2023.gps.x86_64 | 34 KiB | 2026-05-15 | no changelog |
| nginx-module-testcookie-1.31.0+1.28-1.amzn2023.gps.x86_64 | 34 KiB | 2026-05-14 | no changelog |
| nginx-module-testcookie-1.29.8+1.28-1.amzn2023.gps.x86_64 | 34 KiB | 2026-04-08 | no changelog |
| nginx-module-testcookie-1.29.7+1.28-1.amzn2023.gps.x86_64 | 34 KiB | 2026-03-25 | no changelog |
| nginx-module-testcookie-1.29.6+1.28-1.amzn2023.gps.x86_64 | 33 KiB | 2026-03-11 | no changelog |
| nginx-module-testcookie-1.29.5+1.28-1.amzn2023.gps.x86_64 | 33 KiB | 2026-02-05 | no changelog |
| nginx-module-testcookie-1.29.4+1.28-1.amzn2023.gps.x86_64 | 33 KiB | 2025-12-11 | no changelog |
| nginx-module-testcookie-1.29.3+1.28-1.amzn2023.gps.x86_64 | 33 KiB | 2025-11-01 | no changelog |