Nginx Web server enterprise-level optimization

One. Hide Nginx configuration version number

In a production environment, you need to hide Nginx version number in order to avoid a security breach leaked

Three commands to remember

1.     elinks -dump native IP

2.        curl -I native IP

3.        Lynx native IP

 

View ngxin version and model

 

 

 

 

two. Nginx modify users and groups

three. Nginx web caching configuration time

four. Configuring Nginx achieve connection timeout

Fives. Change the number of processes running Nginx

six. Nginx configuration page to achieve compression

Seven. Nginx configuration to achieve security chain function

Eight

In a production environment, you need to hide Nginx version number in order to avoid a security breach leaked

 

Guess you like

Origin www.cnblogs.com/maoyanqing/p/11516008.html
Recommended