From 66f96c49ec4a222c4061e18aa8c3f8655b52327d Mon Sep 17 00:00:00 2001 From: Aapo Talvensaari Date: Fri, 16 Aug 2019 13:41:49 +0300 Subject: [PATCH] remove server tokens from special responses output --- nginx-1.19.3/src/http/ngx_http_special_response.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/nginx-1.19.3/src/http/ngx_http_special_response.c b/nginx-1.19.3/src/http/ngx_http_special_response.c index 4b8bbf5..524cc7b 100644 --- a/nginx-1.19.3/src/http/ngx_http_special_response.c +++ b/nginx-1.19.3/src/http/ngx_http_special_response.c @@ -19,21 +19,18 @@ static ngx_int_t ngx_http_send_refresh(ngx_http_request_t *r); static u_char ngx_http_error_full_tail[] = -"
" NGINX_VER "
" CRLF "" CRLF "" CRLF ; static u_char ngx_http_error_build_tail[] = -"
" NGINX_VER_BUILD "
" CRLF "" CRLF "" CRLF ; static u_char ngx_http_error_tail[] = -"
openresty
" CRLF "" CRLF "" CRLF ; -- 2.22.0