Customize the Nginx Server:Apache

  1. vi src/http/ngx_http_header_filter_module.c
  2. static char ngx_http_server_string[] = “Server: Apache” CRLF;
  3. static char ngx_http_server_full_string[] = “Server: Apache” CRLF;
  4. configure, make, make install.
Advertisements
This entry was posted in nginx. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s