To disable the version in Nginx, you can use the server_tokens
directive.
Add this line to the http
block in your nginx.conf
file.
This will disable the version in the Server
header as well as on error pages. More about them here โ๏ธ
To disable the version in Nginx, you can use the server_tokens
directive.
Add this line to the http
block in your nginx.conf
file.
This will disable the version in the Server
header as well as on error pages. More about them here โ๏ธ