How to hide nginx version on CentOS
TL;DR
modify nginx.conf
add the following in to http { }
http {
server_tokens off;
}
Leave a message
Disclaimer
- Welcome to visit the knowledge base of SRE and DevOps!
- License under CC BY-NC 4.0
- Made with Material for MkDocs and improve writing by generative AI tools
- Copyright issue feedback me#imzye.com, replace # with @