Nginx 的日誌格式定義

 Nginx 的日誌格式定義ide

 

 

 

 log_format  main  '$remote_addr - $remote_user [$time_local] "$request" 'spa

                      '$status $body_bytes_sent "$http_referer" '日誌

                      '"$http_user_agent" "$http_x_forwarded_for"';orm

 

 

 

   使用格式rem

  access_log  /var/log/www/access.log  main;it

相關文章
相關標籤/搜索