How to hide Kernel Info & also compile the nginx

Shin Lim nginx-forum at
Sat Aug 22 09:50:29 UTC 2020

I have hosted Nginx 1.16.1 on Ubuntu 16.04. Have configured SSL from
LetsEncrypt. Everything is running fine. Only port 80 and 443 are allowed.

During security testing, I see that kernel information is exposed on
domain.Is there any way to hide kernel information using Nginx ?

Can I compile nginx on Ubuntu 16.04 and reuse it on other deployments? Or
do I need to compile every time ? Please advise.

More details at

Posted at Nginx Forum:,289160,289160#msg-289160

More information about the nginx mailing list