Time-based one-time password (TOTP) authentication for NGINX
9 — 所有核心与模块指令——语法、默认值、上下文与真实配置示例。
auth_totp_cookie
The `auth_totp_cookie` 指令配置用于为使用 TOTP 的客户端维护身份验证状态的 HTTP cookie 的名称。
httpserverlocation
auth_totp_expiry
设置 NGINX 中用于基于 TOTP 认证的身份验证 Cookie 的过期时间。
httpserverlocation
auth_totp_file
`auth_totp_file` 指令指定用于 NGINX 内 TOTP 身份验证的 TOTP 配置文件的路径。
httpserverlocation
auth_totp_length
指定用于身份验证的 TOTP (基于时间的一次性密码) 的长度。
httpserverlocation
auth_totp_realm
为 NGINX 中的 TOTP 身份验证定义一个 realm 名称,该名称显示在身份验证提示中。
httpserverlocation
auth_totp_reuse
指令 `auth_totp_reuse` 控制是否在其有效期内重复使用 TOTP 令牌。
httpserverlocation
auth_totp_skew
在 NGINX 中配置用于 TOTP 验证的允许时间偏差。
httpserverlocation
auth_totp_start
`auth_totp_start` 指令设置 NGINX 中基于时间的一次性密码 (TOTP) 算法的起始时间。
httpserverlocation
auth_totp_step
指令 `auth_totp_step` 在 NGINX 验证中配置基于时间的一次性密码(TOTP) 的有效时间间隔。
httpserverlocation