From aa42b17911e83b3d1a863b74bb1990cc773ab791 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Fri, 16 Oct 2026 07:44:39 -0500 Subject: [PATCH] don't log an nginx warning for every authenticated request (#24682) Since 0.18.2, every request that went through /auth logged an uninitialized "go2rtc_stream_proxy" variable warning, because only the go2rtc stream locations set that variable. The warning is now turned off in the /auth location, and the header value sent to /auth is unchanged. --- docker/main/rootfs/usr/local/nginx/conf/auth_location.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/main/rootfs/usr/local/nginx/conf/auth_location.conf b/docker/main/rootfs/usr/local/nginx/conf/auth_location.conf index 9e2827c3d2..3d6604e597 100644 --- a/docker/main/rootfs/usr/local/nginx/conf/auth_location.conf +++ b/docker/main/rootfs/usr/local/nginx/conf/auth_location.conf @@ -5,6 +5,8 @@ location /auth { ## Essential Proxy Configuration internal; proxy_pass $upstream_auth; + # $go2rtc_stream_proxy is only set by the go2rtc stream locations + uninitialized_variable_warn off; ## Headers