http: use variable for better maintainability

In `ngx_http-special_response.c`, replace the hard-coded `"nginx"` string literal with the `NGINX_VAR` variable to enhance maintainability.

This change should follow the same structure used on lines 21 and 28, ensuring clarity and consistency.
This commit is contained in:
LaoytPS 2025-05-19 13:28:51 +08:00
parent f3542500b6
commit 762a1b5664

View File

@ -33,7 +33,7 @@ static u_char ngx_http_error_build_tail[] =
static u_char ngx_http_error_tail[] =
"<hr><center>nginx</center>" CRLF
"<hr><center>"NGINX_VAR"</center>" CRLF
"</body>" CRLF
"</html>" CRLF
;