Results 1 to 4 of 4
-
2nd Jan 2011, 08:20 AM #1OPMember
Nginx Custom Headers - Kick Ass Server :P
Intro :
In this tutorial , I will be showing how to Edit the default Server Headers of Nginx and set them to the required ones ..
If you are aware of the word server header , read this :
http://en.wikipedia.org/wiki/List_of_HTTP_header_fields
for example if you find Google's server header , it says :
Server: gws
.................................................. ..
you can find headers using curl
curl -I google.com
or use an online tool
http://www.seoconsultants.com/tools/headers
.................................................. ..
download nginx source
from
http://nginx.org/
then untar it ..
browse to src/http/
Open ngx_http_header_filter_module.c for editing
find
PHP Code:static char ngx_http_server_string[] = "Server: nginx" CRLF;
static char ngx_http_server_full_string[] = "Server: " NGINX_VER CRLF;
now compile nginx as usual with your custom settings and requirements ..
for this tutorial , I am just compiling with default options,
./configure
make
make install
start nginx ( you can directly start by going into the directory in which it was installed and call it or create an init script for making things easier )
here's my result for server header :
Tutorial by desiboy @ KWWHunction !
leave a link to this thread , if you post in somewhere else .desiboy Reviewed by desiboy on . Nginx Custom Headers - Kick Ass Server :P Intro : In this tutorial , I will be showing how to Edit the default Server Headers of Nginx and set them to the required ones .. If you are aware of the word server header , read this : http://en.wikipedia.org/wiki/List_of_HTTP_header_fields for example if you find Google's server header , it says : Server: gws .................................................... Rating: 5Coding Horror Fan
I don't read PM's frequently .
-
2nd Jan 2011, 03:34 PM #2Respected DeveloperWebsite's:
PlatinumW.org NexusDDL.com HD-United.org CheckLinks.org FLVD.orgNice tutorial but it's common courtesy to leave the name as-is.
Current projects:
Megaupload Premium Multifetch Script | FF Plugin: Tinypic and Imagevenue Image Remoter
Projects in hiatus:
IPB Linkchecker Bot | VB Linkchecker Bot
-
2nd Jan 2011, 03:41 PM #3BannedWebsite's:
xsl.tel xsltel.comNice tutorial, Thanks
-
26th Jan 2011, 04:00 AM #4OPMember
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[TUT]How to install Nginx Web Server ~ Domenic Edition
By Dom in forum Technical and Security TutorialsReplies: 16Last Post: 22nd Mar 2012, 05:52 PM -
Nginx Overtakes Microsoft As No. 2 Web Server
By Daniel in forum News & Current EventsReplies: 1Last Post: 5th Jan 2012, 08:05 AM -
Litespeed / Apache / nginx /Zend server
By Danielx64 in forum Polling PlazaReplies: 7Last Post: 13th Jul 2011, 10:06 AM -
ob_flush On Nginx Server? RapidLeech help
By soogoomoo in forum Webmaster DiscussionReplies: 9Last Post: 14th Nov 2010, 01:58 PM -
[Selling] Get a KICK Ass custom design
By Wau in forum Completed TransactionsReplies: 7Last Post: 29th Oct 2010, 04:48 PM
themaPoster - post to forums and...
Version 5.11 released. Open older version (or...