Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have compiled ngx_pagespeed, but forgot to remove the version number. Is there any way to overwrite/delete/hide them?

Apache has feature to 'unset' them, but I couldn't find anything similar for nginx. Perhaps I do not know how to use headers module?

Or should go to look around in source code and then recompile?

Perhaps anyone could point the exact location then?


share|improve this question
up vote 1 down vote accepted

Pagespeed module has a built-in capability to change this in the configuration. Please use the following in your vhost or nginx.conf or where you defined pagespeed configurations...

pagespeed XHeaderValue "Powered By Dzh - Change this to whatever!";

Ref: (under the header "Specifying the value for the PageSpeed header").

share|improve this answer
Brilliant, solved it! – Dzh Oct 10 '13 at 16:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.