修改nginx版本資訊
修改前:
404 not found
--------------------
nginx/0.8.41
修改後:
404 not found
--------------------
Aiyonet.com/0.1.8
步驟1:
修改檔 nginx-0.8.41/src/core/nginx.h
#define nginx_version 018
#define NGINX_VERSION "0.1.8"
#define NGINX_VER "Aiyonet.com/" NGINX_VERSION
#define NGINX_VAR "AIYONET.COM"
步驟2:
修改檔 nginx-0.8.41/src/http/ngx_http_header_filter_module.c
static char ngx_http_server_string[] = "Server: Aiyonet.com" CRLF;
static char ngx_http_server_full_string[] = "Server: " NGINX_VER CRLF;
Hits: 82