Wednesday, August 7, 2013

How to Change Nginx Server Header on CentOS 5 VPS



This is tutorial how to change or customize Nginx version server header CentOS 5 VPS 32bit

First remove Nginx if now still running Nginx via yum

Download nginx stable version

wget http://nginx.org/download/nginx-1.4.2.tar.gz

Extract nginx-1.4.2

tar -xzf nginx-1.4.2.tar.gz

Edit Nginx version header

cd nginx-1.4.2

Changing the server string:

nano src/http/ngx_http_header_filter_module.c

Baca Juga

How to Change Nginx Server Header on CentOS 5 VPS
4/ 5
Oleh
Tampilkan Komentar
Sembunyikan