Skip to content

How to setup? #5

@phoo8ar

Description

@phoo8ar

Hi there and thx for the module.
I'm trying to wrap my head around how to setup and authenticate.

The module is statically compiled into version 1.29.1 of Nginx and is "visible" as below
Adding the proposed section to the location I'm only getting a 401 Authorization Required when trying to reach the server. Without the protected part it runs as normal.

Output of -V:
nginx version: nginx/1.29.1
built by gcc 14.2.0 (Debian 14.2.0-19)
built with OpenSSL 3.5.1 1 Jul 2025
TLS SNI support enabled
configure arguments: --prefix=/usr/local/nginx --sbin-path=/usr/local/nginx/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --pid-path=/us
r/local/nginx/run/nginx.pid --lock-path=/usr/local/nginx/run/nginx.lock --error-log-path=/usr/local/nginx/log/error.log --http-log-path=/usr/local
/nginx/log/access.log --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-http_addition_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_sub_module --with-mail_ssl_module --with-stream_ssl_module --with-stream --add-module=../nginx-http-auth-totp-1.1.0

Any way to debug the setup any further?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions