[Snippet] Hiding nginx server version

Hiding the nginx server version for security or PCI compliance reasons is super simple.
Just add

server_tokens off

Into your nginx.conf

Author: Kieran Barnes

Kieran is a PHP developer with 15 years commercial experience. Specialist in WordPress, CakePHP, CubeCart and all things PHP.

Leave a Reply

Your email address will not be published. Required fields are marked *