Files

5 lines
517 B
Plaintext

# 웹메이커 접속 통계용 nginx 로그 형식 (http 컨텍스트에서 읽히도록 /etc/nginx/conf.d/ 에 설치)
# 필드: 시각(ms)|클라이언트IP|호스트|메서드|요청URI|상태|수신바이트(요청 전체)|송신바이트(응답 전체)|리퍼러|UA
# lib/stats.js 의 parseLine() 이 이 순서를 그대로 전제한다. 바꾸면 함께 바꿀 것.
log_format wmstats '$msec|$remote_addr|$host|$request_method|$request_uri|$status|$request_length|$bytes_sent|$http_referer|$http_user_agent';