Why does the plugin change the server header?


Normally, if you download and install Varnish (the source not the plugin) yourself, the headers will change to "Varnish." But our Varnish implementation is so aggressively modified and re-programmed at the code level (in order to extract every ounce of performance) that we must change the headers to indicate it. Changing the headers is best practices from a technical standpoint. Nevertheless, you can change these to your own header of choice by modifying the string in question in /etc/varnish/default.vcl for the Varnish Plugin or in the source code of Nginx in the file nginx-1.x.x/src/http/ngx_http_header_filter_module.c then search for the line with the string "Advanced Hosting" and change it (you'll then need to rebuid Nginx from source).
  • 10 Users Found This Useful
Was this answer helpful?

Related Articles

Stop worpress wp-login.php brute force attacks with Varnish throttling (Rate Limit)

Version 1.8.4 of the cPanel Varnish Plugin has seen a new feature being introduced: the ability...

Varnish Plugin on Amazon AWS with Elastic IP or NAT

Here are the two short steps required to ensure licensing is setup properly so you're able to use...

Correct IP reporting in legacy software / scripts

The plugin follows reverse proxy software proper handling of X-Forwarded-For headers and in this...

vBulletin correct reporting of IP address

It's recommended to make the following changes to includes/config.php so vB doesn't report...