lnmp architecture-nginx

6. nginx basic configuration

Certificate

 

 

 

 

 Redirect (80 redirects to 443)

Go directly to https when accessing http

 

 Automatic indexing: easy to download

 

Nginx cache configuration: caching can reduce website bandwidth and speed up user access

 

log polling

 

 Disable unnecessary logging to save disk IO consumption

 

 

 Monitored information

It is not necessary to record the monitored information

 There is no record at this time

 nginx access control

These parameters can be flexibly used in any loacation to achieve filtering

 Chinese garbled problem

achieve this effect

 

 

 nginx redirection and anti-leech

nginx redirection

www.westos.org/bbs redirects to bbs.westos.org

 

 

 Anti-leech mechanism

Guess you like

Origin blog.csdn.net/weixin_59945551/article/details/132498484