1.vim Main configuration file: vim/usr/local/nginx/conf/nginx.conf
Custom log Name:
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= "http ://s3.51cto.com/wyfs02/m01/82/86/wkiol1dx2xgzutksaaanhkwokh4239.png "title=" 1.png "alt=" Wkiol1dx2xgzutksaaanhkwokh4239.png "/>
2.vim/usr/local/nginx/conf/vhosts/jz.conf---Editing a virtual host file
Join: access_log/tmp/access.log XRC; ----Define the log location and name
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/82/86/wKioL1dX2yCyp7HtAAAIaGnXlnQ971.png "title=" 2.png " alt= "Wkiol1dx2ycyp7htaaaiagnxlnq971.png"/>
Join:
Location ~. *\. (gif|jpg|jpeg|png|bmp|swf) $---filter files
{
Access_log off;
}
Location ~ (Static|cache)---Filter files under the static and cache paths
{
Access_log off;
}
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/82/88/wKiom1dX2iSz8fhJAAAwwhN41sw597.png "title=" 3.png " alt= "Wkiom1dx2isz8fhjaaawwhn41sw597.png"/>
Nginx does not record the specified file type log