[GH-ISSUE #1259] Nginx-UI启用 stub_status 模块后不停产生大量访问日志 #2587

Closed
opened 2026-02-27 12:24:20 +03:00 by kerem · 0 comments
Owner

Originally created by @kekylin on GitHub (Jul 24, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1259

这几天将Nginx-UI从v2.1.12至v2.1.14版本后,留意到访问日志产生了大量这种日志信息,通过监测工具发现,每小时产生约七百条日志:
127.0.0.1 - - [24/Jul/2025:08:39:12 +0800] "GET /stub_status HTTP/1.1" 200 105 "-" "Go-http-client/1.1"

经过排查后发现,只要关闭了stub_status 模块后,这种访问日志就停止产生了。

Image Image

系统版本是Debian12.11;
Nginx-UI是通过安装脚本安装的;
下面是Nginx相关信息:
root@debian:~$ nginx -V
nginx version: nginx/1.22.1
built with OpenSSL 3.0.15 3 Sep 2024 (running with OpenSSL 3.0.16 11 Feb 2025)
TLS SNI support enabled
configure arguments: --with-cc-opt='-g -O2 -ffile-prefix-map=/build/reproducible-path/nginx-1.22.1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -fPIC' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=stderr --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-compat --with-debug --with-pcre-jit --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-threads --with-http_addition_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_secure_link_module --with-http_sub_module --with-mail_ssl_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-stream_realip_module --with-http_geoip_module=dynamic --with-http_image_filter_module=dynamic --with-http_perl_module=dynamic --with-http_xslt_module=dynamic --with-mail=dynamic --with-stream=dynamic --with-stream_geoip_module=dynamic

Originally created by @kekylin on GitHub (Jul 24, 2025). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1259 这几天将Nginx-UI从v2.1.12至v2.1.14版本后,留意到访问日志产生了大量这种日志信息,通过监测工具发现,每小时产生约七百条日志: 127.0.0.1 - - [24/Jul/2025:08:39:12 +0800] "GET /stub_status HTTP/1.1" 200 105 "-" "Go-http-client/1.1" 经过排查后发现,只要关闭了stub_status 模块后,这种访问日志就停止产生了。 <img width="980" height="949" alt="Image" src="https://github.com/user-attachments/assets/7bb5abf1-bcbf-4a11-b666-9c6e23b7459a" /> <img width="1318" height="947" alt="Image" src="https://github.com/user-attachments/assets/183415a0-5d61-4937-b33c-91fff7714941" /> 系统版本是Debian12.11; Nginx-UI是通过安装脚本安装的; 下面是Nginx相关信息: root@debian:~$ nginx -V nginx version: nginx/1.22.1 built with OpenSSL 3.0.15 3 Sep 2024 (running with OpenSSL 3.0.16 11 Feb 2025) TLS SNI support enabled configure arguments: --with-cc-opt='-g -O2 -ffile-prefix-map=/build/reproducible-path/nginx-1.22.1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-z,relro -Wl,-z,now -fPIC' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=stderr --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-compat --with-debug --with-pcre-jit --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-threads --with-http_addition_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_secure_link_module --with-http_sub_module --with-mail_ssl_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-stream_realip_module --with-http_geoip_module=dynamic --with-http_image_filter_module=dynamic --with-http_perl_module=dynamic --with-http_xslt_module=dynamic --with-mail=dynamic --with-stream=dynamic --with-stream_geoip_module=dynamic
kerem 2026-02-27 12:24:20 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#2587
No description provided.