View this package for all Ubuntu releases →

How to install nginx-module-testcookie in Ubuntu 26.04 (resolute)

NGINX testcookie robot mitigation module

Vendor: GetPageSpeed https://github.com/dvershinin/testcookie-nginx-module

Install

curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb
sudo apt-get install -y /tmp/getpagespeed-release.deb
rm /tmp/getpagespeed-release.deb
sudo apt-get update
sudo apt-get install -y nginx-module-testcookie

Free to install; commercial production use requires a subscription. Without one, a small license notice appears on HTML pages after 30 days. For other releases and channels, use the setup wizard.

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.

Packages

Package Size Built
nginx-module-testcookie_1.30.8+1.28-9~gps1+ubuntu2604+stable_amd64 18 KiB 2026-11-24
nginx-module-testcookie_1.30.8+1.28-9~gps1+ubuntu2604+stable_arm64 16 KiB 2026-11-24
nginx-module-testcookie_1.30.7+1.28-9~gps1+ubuntu2604+stable_amd64 18 KiB 2026-11-18
nginx-module-testcookie_1.30.7+1.28-9~gps1+ubuntu2604+stable_arm64 16 KiB 2026-11-18

Subscribe