Mercurial > hg > nginx
comparison src/http/ngx_http_special_response.c @ 9223:697f452bc033
Fixed server name in special responses with "server_tokens off;".
Missed in 9213:23f109f0facc.
Reported by Antanas PataĊĦius.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 29 Feb 2024 19:24:26 +0300 |
parents | d26db4f82d7d |
children | afd36b161859 |
comparison
equal
deleted
inserted
replaced
9222:0b51902d9f24 | 9223:697f452bc033 |
---|---|
31 "</html>" CRLF | 31 "</html>" CRLF |
32 ; | 32 ; |
33 | 33 |
34 | 34 |
35 static u_char ngx_http_error_tail[] = | 35 static u_char ngx_http_error_tail[] = |
36 "<hr><center>nginx</center>" CRLF | 36 "<hr><center>" NGINX_NAME "</center>" CRLF |
37 "</body>" CRLF | 37 "</body>" CRLF |
38 "</html>" CRLF | 38 "</html>" CRLF |
39 ; | 39 ; |
40 | 40 |
41 | 41 |