如上图,“bfe/1.0.5.38”代表是什么服务器?
估计是nginx
BFE全称是Baidu Front End,是百度自己研发的一套前端接入系统,据说在国外只有Google/Facebook等顶级公司才有类似的系统
thttpd
以前
Google: GWS
QQ: qhttpd
Baidu: BWS
Sina: apache
纠结这个没有任何意义。tengine修改一行配置就能修改掉这个Response Header
然卵用系列,po主请忽略
我用的是
Server:mokcy/0.17.9
看上去很帅吧~~
1.修改了自己的Server header。
vim src/http/ngx_http_header_filter_module.c
默默地将其中的这一行
static char ngx_http_server_string[] = "Server: nginx" CRLF;
改成了
static char ngx_http_server_string[] = "Server: phodal" CRLF;
2.另外一个便是nginx.h
vim src/core/nginx.h
修改
#define NGINX_VERSION "0.11"
#define NGINX_VER "phodal/" NGINX_VERSION