How to install nginx-module-secure-token in Ubuntu 20.04 (focal)
Secure token module for NGINX
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 echo "deb [signed-by=/etc/apt/keyrings/deb-archive-keyring.gpg] https://extras.getpagespeed.com/ubuntu focal-mainline-early main" | sudo tee /etc/apt/sources.list.d/getpagespeed-mainline-early.list sudo apt-get update sudo apt-get install -y nginx-module-secure-token
Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.
Description
Generates CDN tokens, either as a cookie or as a query string parameter (m3u8,mpd,f4m only). Currently supports Akamai v2 tokens, and Amazon CloudFront tokens. In addition, the module supports the encryption of URIs with a configured key
Packages
| Package | Size | Built |
|---|---|---|
| nginx-module-secure-token_1.31.8+1.5-9~gps1+ubuntu2004+mainline_amd64 | 24 KiB | 2026-10-21 |
| nginx-module-secure-token_1.31.8+1.5-9~gps1+ubuntu2004+mainline_arm64 | 23 KiB | 2026-10-21 |