Chủ Nhật, 6 tháng 5, 2012

Nginx change linux server


Edit using VI, the file /tmp/nginx-0.7.65/src/http/ngx_http_header_filter_module.c and replace the following section, from:
static char ngx_http_server_string[] = “Server: nginx” CRLF;
static char ngx_http_server_full_string[] = “Server: ” NGINX_VER CRLF;
To:
static char ngx_http_server_string[] = “Server: Secure Web Server” CRLF;
static char ngx_http_server_full_string[] = “Server: Secure Web Server” CRLF;

0 nhận xét:

Đăng nhận xét