The interview asked how nginx optimization was done

1. Use the epoll model
2. Increase the number of processes and open connections
3. Enable gzip compression transmission
4. Enable caching for static files 5.
Timeouts settings
6. Anti-theft link settings
7. Illegal scripts
8. Prevent ddoc attacks
9. Prohibit malicious domain names Analysis
10. Hide version information

Guess you like

Origin blog.csdn.net/qq_39418469/article/details/108265392