# HG changeset patch # User Maxim Dounin # Date 1709223866 -10800 # Node ID 697f452bc03301a8fe22d8bcae6f3bc06f4efe6f # Parent 0b51902d9f243a2a125f0bd75ede65d6c7dc2bc0 Fixed server name in special responses with "server_tokens off;". Missed in 9213:23f109f0facc. Reported by Antanas PataĊĦius. diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c --- a/src/http/ngx_http_special_response.c +++ b/src/http/ngx_http_special_response.c @@ -33,7 +33,7 @@ static u_char ngx_http_error_build_tail[ static u_char ngx_http_error_tail[] = -"
nginx
" CRLF +"
" NGINX_NAME "
" CRLF "" CRLF "" CRLF ;