How to install nginx-module-auth-totp in Ubuntu 20.04 (focal)
Time-based one-time password (TOTP) authentication 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-auth-totp
Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.
Description
The Time-based One-Time Password (TOTP) algorithm, provides a secure mechanism for short-lived one-time password values, which are desirable for enhanced security. This algorithm can be used across a wide range of network applications ranging from remote Virtual Private Network (VPN) access, Wi-Fi network logon to transaction-orientated Web applications. This module provides TOTP authentication for a NGINX server.
Packages
| Package | Size | Built |
|---|---|---|
| nginx-module-auth-totp_1.31.8+1.2.0-9~gps1+ubuntu2004+mainline_amd64 | 10 KiB | 2026-10-21 |
| nginx-module-auth-totp_1.31.8+1.2.0-9~gps1+ubuntu2004+mainline_arm64 | 9 KiB | 2026-10-21 |