I want to change server header completely for security reason. When I enter /src/http/ngx_http_header_filter_module.c as many wrote about this but mine are empty. Where could i find that the file?
Hi Kozley Dont search the file, definitely you cannot found it. You need to download the source code from nginx download... choose your version wisely... download it here [http]://nginx.org/download/ Let say your version is Nginx 1.8.0, here is the total solution. Code: wget [http]://nginx.org/download/nginx-1.8.0.tar.gz tar -xvpzf nginx-1.8.0.tar.gz cd nginx-* Then edit the file Code: vi -w +49 src/http/ngx_http_header_filter_module.c p/s: if you dont have vi editor just change vi to nano. Important: Please change the [http] to http coz I cannot post link here